Power distribution network high-resistance fault detection method and device and computer equipment

By quickly calculating the accumulated fundamental wave phasor in the distribution network, the problems of large and long calculations in traditional methods are solved, the efficiency of high-impedance fault detection is improved and equipment complexity and power consumption are reduced.

CN118937891APending Publication Date: 2024-11-12STATE GRID BEIJING ELECTRIC POWER CO +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410984851.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The traditional method calculates the accumulated fundamental phasor operation with a large amount and takes a long time, resulting in a low efficiency of high resistance fault detection in the distribution network.

Method used

By obtaining the voltage signal in the target time period, selecting multiple times to calculate the sine factor and cosine factor, and multiplying it with the specified filter coefficient to calculate the real and imaginary part of the fundamental wave phasor, reducing the displacement in the multiplication operation The number of times, quickly calculate the accumulated fundamental phasor.

Benefits of technology

It realizes the rapid calculation of the accumulated fundamental phasor of the voltage signal, improves the efficiency of high-resistance fault detection in the distribution network, and reduces the hardware complexity and power consumption of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937891A_ABST
    Figure CN118937891A_ABST
Patent Text Reader

Abstract

The invention discloses a power distribution network high-resistance fault detection method and device and computer equipment. The method comprises the following steps: acquiring a voltage signal of a target power distribution network in a target time period; sine values and cosine values corresponding to the phases of the voltage signals at the multiple moments are determined; multiplying the sine value and the cosine value by the voltage signal at the corresponding moment to obtain a sine factor and a cosine factor; the sine factor and the cosine factor are respectively input into a predetermined multiplier, so that the sine factor and the cosine factor are multiplied by a specified filter coefficient, a fundamental wave phasor real part and a fundamental wave phasor imaginary part are obtained, and the specified filter coefficient is associated with the frequency of the voltage signal; determining an accumulated fundamental wave phasor according to the respective fundamental wave phasor real part and imaginary part of the multiple moments; and performing high-resistance fault detection on the target power distribution network according to the accumulated fundamental wave phasor. The method solves the technical problem that the high-resistance fault detection efficiency of the power distribution network is low due to the fact that a traditional method for calculating the cumulative fundamental wave phasor is large in calculation amount and long in time consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distribution network fault detection, and in particular to a distribution network high-resistance fault detection method, device and computer equipment. Background Art

[0002] One of the main criteria for high-resistance fault detection in distribution network lines is the fundamental incremental zero-sequence admittance criterion. However, the fundamental incremental zero-sequence admittance value before and after the high-resistance fault is relatively small, which is easy to cause misjudgment. In order to improve the reliability of high-resistance fault detection, the range of significant changes before and after the high-resistance fault can be detected first, and the cumulative fundamental phasor of the voltage signal before and after the fault and the cumulative fundamental phasor increment caused by the fault are calculated within this range, and the cumulative fundamental incremental zero-sequence admittance is calculated to avoid the small amplitude of the fundamental phasor increment calculated based on the single phasor before and after the fault, which leads to the calculated fundamental incremental zero-sequence admittance being small and susceptible to interference and misjudgment, thereby improving the detection reliability of high-resistance faults.

[0003] This method requires calculating the fundamental phasors of multiple cycles of the voltage signal and accumulating them. If traditional MCU or DSP is used for calculation, it is necessary to perform operations serially one by one, which is large in amount and time-consuming. In order to meet the real-time requirements of distribution network line relay protection, a processor with a very high main frequency is required, which increases the hardware complexity of related equipment, increases equipment cost, increases equipment power consumption, and reduces equipment reliability.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a method, device and computer equipment for detecting high-resistance faults in a distribution network, so as to at least solve the technical problem that the traditional method for calculating the cumulative fundamental phasor has a large amount of computation and a long time consumption, resulting in low efficiency in detecting high-resistance faults in the distribution network.

[0006] According to one aspect of an embodiment of the present invention, a method for detecting high-resistance faults in a distribution network is provided, comprising: obtaining a voltage signal of a target distribution network within a target time period; selecting multiple moments within the target time period, and performing the following processing on the voltage signals at the multiple moments respectively to obtain sine factors and cosine factors of the multiple moments: determining sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the multiple moments; multiplying the sine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain sine factors of the multiple moments, and multiplying the cosine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments. The sine factors and cosine factors of the multiple moments are respectively input into predetermined multipliers, so that the sine factors of the multiple moments are multiplied by the specified filter coefficients to obtain the real parts of the fundamental phasors of the multiple moments, and the cosine factors of the multiple moments are multiplied by the specified filter coefficients to obtain the imaginary parts of the fundamental phasors of the multiple moments, wherein the specified filter coefficients are associated with the frequency of the voltage signal; the cumulative fundamental phasor of the voltage signal is determined according to the real and imaginary parts of the fundamental phasors of the multiple moments; and the target distribution network is subjected to high-resistance fault detection according to the cumulative fundamental phasor of the voltage signal.

[0007] Optionally, the multiplier is determined in the following manner: obtaining the frequency of the voltage signal of the target distribution network; determining the specified filter coefficient according to the frequency of the voltage signal of the target distribution network; rounding the specified filter coefficient; splitting the rounded specified filter coefficient into the sum or difference of multiple integer powers of 2; setting multiple bit shift operations on the input data of the multiplier according to the power exponents of each of the multiple integer powers of 2; determining the multiplier according to the multiple bit shift operations and the sum and difference relationship between the multiple integer powers of 2.

[0008] Optionally, rounding the specified filter coefficients includes: obtaining a predetermined calculation accuracy; determining a rounding coefficient based on the calculation accuracy; multiplying the rounding coefficient with the specified filter coefficient; and rounding the specified filter coefficient after multiplication with the rounding coefficient to obtain the rounded specified filter coefficient.

[0009] Optionally, the multiplier is determined based on multiple bit shift operations and the sum and difference relationship between multiple integer powers of 2, including: determining the reciprocal of the rounding coefficient; determining the multiplier based on multiple bit shift operations, the sum and difference relationship between multiple integer powers of 2, and the reciprocal of the rounding coefficient.

[0010] Optionally, the rounded specified filter coefficient is split into the sum or difference of multiple integer powers of 2, including: recording the rounded specified filter coefficient as the first decomposed value; determining the first integer power of 2 corresponding to the first decomposed value, wherein the difference between the absolute value of the first integer power of 2 and the first decomposed value is the smallest; determining the size relationship between the first decomposed value and the first integer power of 2, and obtaining the calculation symbol corresponding to the first integer power of 2; determining the absolute value of the difference between the first decomposed value and the first integer power of 2 as the second decomposed value; using the method of obtaining the second decomposed value, iteratively updating the decomposed values ​​until the Nth decomposed value is equal to the corresponding Nth integer power of 2, and obtaining N integer powers of 2 constituting the rounded specified filter coefficient, and the calculation symbols corresponding to the N integer powers of 2, wherein N is greater than 1.

[0011] Optionally, multiple bit shift operations on the input data of the multiplier are set according to the power exponents of each of the multiple integer powers of 2, including: determining the number of shifts of each of the multiple integer powers of 2 according to the power exponents of each of the multiple integer powers of 2; and left-shifting the number of shifts of each of the multiple integer powers of 2 to obtain multiple bit shift operations.

[0012] According to another aspect of an embodiment of the present invention, a distribution network high-resistance fault detection device is also provided, including: an acquisition module, used to acquire a voltage signal of a target distribution network within a target time period; a first calculation module, used to select multiple moments within the target time period, and respectively perform the following processing on the voltage signals at the multiple moments to obtain the sine factors and cosine factors of the multiple moments: determine the sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the multiple moments; multiply the sine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the sine factors of the multiple moments, and multiply the cosine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the sine factors of the multiple moments. a second calculation module, for inputting the sine factors and cosine factors of each of the multiple moments into predetermined multipliers respectively, so that the sine factors of each of the multiple moments are multiplied by the specified filter coefficient to obtain the real parts of the fundamental phasors of each of the multiple moments, and the cosine factors of each of the multiple moments are multiplied by the specified filter coefficient to obtain the imaginary parts of the fundamental phasors of each of the multiple moments, wherein the specified filter coefficient is associated with the frequency of the voltage signal; a third calculation module, for determining the cumulative fundamental phasor of the voltage signal according to the real and imaginary parts of the fundamental phasors of each of the multiple moments; a detection module, for performing high-resistance fault detection on the target distribution network according to the cumulative fundamental phasor of the voltage signal.

[0013] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, the non-volatile storage medium including a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the above-mentioned distribution network high-resistance fault detection methods.

[0014] According to another aspect of the embodiments of the present invention, a computer device is provided. The computer device includes a processor, and the processor is used to run a program. When the program is run, any one of the above-mentioned methods for detecting high-resistance faults in a distribution network is executed.

[0015] According to yet another aspect of the embodiments of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any one of the above-mentioned methods for detecting high-resistance faults in a distribution network is implemented.

[0016] In an embodiment of the present invention, a voltage signal of a target distribution network within a target time period is obtained; a plurality of moments are selected within the target time period, and the voltage signals at the plurality of moments are processed as follows to obtain the sine factors and cosine factors of the plurality of moments: the sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the plurality of moments are determined; the sine values ​​corresponding to the phases of the voltage signals at the plurality of moments are multiplied by the voltage signals at the corresponding moments to obtain the sine factors of the plurality of moments, and the cosine values ​​corresponding to the phases of the voltage signals at the plurality of moments are multiplied by the voltage signals at the corresponding moments to obtain the cosine factors of the plurality of moments; the sine factors and cosine factors of the plurality of moments are respectively input into predetermined multipliers, so that the sine factors of the plurality of moments are multiplied by the predetermined multipliers. The factor is multiplied with the specified filter coefficient to obtain the real part of the fundamental phasor at multiple moments, so that the cosine factor at multiple moments is multiplied with the specified filter coefficient to obtain the imaginary part of the fundamental phasor at multiple moments, wherein the specified filter coefficient is associated with the frequency of the voltage signal; according to the real part and imaginary part of the fundamental phasor at multiple moments, the cumulative fundamental phasor of the voltage signal is determined; according to the cumulative fundamental phasor of the voltage signal, high-resistance fault detection is performed on the target distribution network, thereby achieving the purpose of reducing the number of displacements in the multiplication operation, thereby realizing the technical effect of quickly calculating the cumulative fundamental phasor of the voltage signal, and further solving the technical problem that the traditional method of calculating the cumulative fundamental phasor has a large amount of calculation and a long time consumption, resulting in low efficiency of high-resistance fault detection in the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0018] Figure 1 A hardware structure block diagram of a computer terminal for implementing a method for detecting high-resistance faults in a distribution network is shown;

[0019] Figure 2 is a flow chart of a method for detecting high-resistance faults in a distribution network according to an embodiment of the present invention;

[0020] Figure 3 is a schematic diagram of a cumulative fundamental phasor calculation process provided according to an optional embodiment of the present invention;

[0021] Figure 4 is a schematic diagram of a distribution network high-resistance fault detection device provided according to an optional embodiment of the present invention; DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0025] High-resistance fault detection refers to the detection of fault phenomena with abnormal impedance or increased impedance in the distribution network line.

[0026] The fundamental phasor refers to the phasor representation of a sine wave or cosine wave with a fundamental frequency.

[0027] According to an embodiment of the present invention, a method embodiment for detecting high-resistance faults in a distribution network is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0028] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal for implementing a method for detecting high-resistance faults in a distribution network is shown. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0029] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0030] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the distribution network high resistance fault detection method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the distribution network high resistance fault detection method of the above-mentioned application program is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0031] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .

[0032] Figure 2 FIG. 1 is a flow chart of a method for detecting high-resistance faults in a distribution network according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0033] Step S202, obtaining a voltage signal of a target distribution network within a target time period.

[0034] In this step, the target time period is the time period for obtaining the distribution network voltage signal during the high-resistance fault detection, which can be any time period in a day; the target distribution network is the distribution network for which the high-resistance fault detection is performed, which can be a distribution network with any number of nodes and devices; the voltage signal is the voltage value on the target distribution network line collected at a certain moment.

[0035] Step S204, select multiple moments within the target time period, and process the voltage signals at the multiple moments as follows to obtain the sine factors and cosine factors of the multiple moments: determine the sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the multiple moments; multiply the sine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the sine factors of the multiple moments, and multiply the cosine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the cosine factors of the multiple moments.

[0036] In this step, multiple moments refer to multiple specific moments of the voltage value on the target distribution network line sampled at regular time intervals within the target time period; the sine factor can be the product of the voltage signal and a sine value; the cosine factor can be the product of the voltage signal and a cosine value; the sine value corresponding to the phase refers to the sine value related to the phase of the voltage signal at the corresponding moment, which can be sin((2·π / T1)·(m-1)), T1 is the sampling period for collecting the voltage signal, and m is the sequence number of the cycle; the cosine value corresponding to the phase refers to the cosine value related to the phase of the voltage signal at the corresponding moment, which can be cos((2·π / T1)·(m-1)).

[0037] Step S206, respectively inputting the sine factors and cosine factors of the multiple moments into predetermined multipliers, so that the sine factors of the multiple moments are multiplied by the specified filter coefficients to obtain the real parts of the fundamental phasors of the multiple moments, and the cosine factors of the multiple moments are multiplied by the specified filter coefficients to obtain the imaginary parts of the fundamental phasors of the multiple moments, wherein the specified filter coefficients are associated with the frequency of the voltage signal.

[0038] In this step, the predetermined multiplier refers to a hardware or software program that is determined before high-resistance fault detection based on the multiplication requirements in the cumulative phasor calculation process and is capable of realizing the multiplication function with a fixed numerical value; the filter coefficient refers to the multiplier in the multiplication operation used to obtain the fundamental phasor; the real part of the fundamental phasor refers to the real part in the complex representation of the fundamental phasor; the imaginary part of the fundamental phasor refers to the coefficient of the imaginary part in the complex representation of the fundamental phasor.

[0039] Step S208: determining the accumulated fundamental phasor of the voltage signal according to the real part and the imaginary part of the fundamental phasor at each of the multiple moments.

[0040] In this step, the cumulative fundamental phasor is determined by the cumulative real part of the fundamental phasor and the cumulative imaginary part of the fundamental phasor, wherein the real part of the cumulative fundamental phasor can be the cumulative sum of the real parts of the fundamental phasors at multiple moments, and the imaginary part of the cumulative fundamental phasor can be the cumulative sum of the imaginary parts of the fundamental phasors at multiple moments.

[0041] Step S210: performing high-resistance fault detection on the target distribution network according to the accumulated fundamental phasor of the voltage signal.

[0042] In this step, the cumulative fundamental phasor of the voltage signal is the basis for detecting whether a high-resistance fault occurs in the target distribution network. By detecting the range of significant changes before and after the high-resistance fault, the cumulative fundamental phasor before and after the fault and the cumulative fundamental phasor increment caused by the fault are calculated within this range, and the cumulative fundamental increment zero-sequence admittance is calculated, and whether a high-resistance fault occurs in the target distribution network is determined based on the size of the cumulative fundamental increment zero-sequence admittance.

[0043] Through the above steps, the purpose of reducing the number of displacements in the multiplication operation is achieved, thereby realizing the technical effect of quickly calculating the cumulative fundamental phasor of the voltage signal, thereby solving the technical problem that the traditional method of calculating the cumulative fundamental phasor has a large amount of calculation and a long time consumption, resulting in low efficiency in high-resistance fault detection in the distribution network.

[0044] As an optional embodiment, the multiplier is determined in the following manner: obtaining the frequency of the voltage signal of the target distribution network; determining the specified filter coefficient according to the frequency of the voltage signal of the target distribution network; rounding the specified filter coefficient; splitting the rounded specified filter coefficient into the sum or difference of multiple integer powers of 2; setting multiple bit shift operations on the input data of the multiplier according to the power exponents of the multiple integer powers of 2; determining the multiplier according to the multiple bit shift operations and the sum and difference relationship between the multiple integer powers of 2.

[0045] Optionally, the frequency of the target distribution network voltage signal obtained refers to the number of times the voltage signal of the target distribution network is collected per unit time. The filter coefficient can be an integer or a decimal, which is related to the moment corresponding to the voltage signal. Rounding refers to the process of converting a decimal into an integer, and rounding can be performed. Splitting the rounded specified filter coefficient into the sum or difference of multiple integer powers of 2 is to split the specified filter coefficient into multiple integer powers of 2 and add and subtract them, for example, 7 is split into 8 and -1. When the input data of the multiplier is a binary number, the multiplication operation of the multiplier can be realized by performing multiple shifts and addition and subtraction operations on the binary number. For example, when a binary number is multiplied by 2 to the 8th power, the product is the value obtained by shifting the corresponding binary number left by 8 bits.

[0046] Specifically, assuming that the signal is x(n), n is the serial number of the collected voltage value, the multiplier can be expressed as x S (m)·h R (Mm) and x C (m)·h I (Mm), where m is the length of a preset voltage value sequence, M is the filter width, and x S (m) is the sine factor, x C (m) is the cosine factor.

[0047] As an optional embodiment, rounding the specified filter coefficients includes: obtaining a predetermined calculation accuracy; determining a rounding coefficient based on the calculation accuracy; multiplying the rounding coefficient with the specified filter coefficient; and rounding the specified filter coefficient after multiplication with the rounding coefficient to obtain the rounded specified filter coefficient.

[0048] Optionally, the calculation accuracy is related to the rounding coefficient. The higher the predetermined calculation accuracy, the closer the rounding coefficient should be to 1. The rounding coefficient can be a decimal or an integer. Preferably, the rounded specified filter coefficient obtained by multiplying the rounding coefficient by the specified filter coefficient is an integer.

[0049] Specifically, the specified filter coefficient M is preprocessed. According to the calculation accuracy requirement, the specified filter coefficient M before rounding is multiplied by the rounding coefficient, and then rounded to the nearest integer to obtain the specified filter coefficient after rounding, and converted into a binary number of the specified data bit width W.

[0050] As an optional embodiment, a multiplier is determined based on multiple bit shift operations and the sum and difference relationship between multiple integer powers of 2, including: determining the reciprocal of the rounding coefficient; determining the multiplier based on multiple bit shift operations, the sum and difference relationship between multiple integer powers of 2, and the reciprocal of the rounding coefficient.

[0051] Optionally, the reciprocal of the rounding coefficient is used to eliminate the influence of the rounding coefficient on the accuracy of the multiplier output result. Since the rounding coefficient is multiplied and rounded with the filter coefficient in the previous optional embodiment, and then the rounded filter coefficient is multiplied with the input data of the multiplier, if the multiplication result is directly output as the output result of the multiplier at this time, the result will be inaccurate. Therefore, before the multiplier outputs the final result, the reciprocal of the rounding coefficient can be multiplied with the output result of the previous step to eliminate the influence of the rounding coefficient on the multiplier output result; displacement refers to moving a binary number to a higher position or to a lower position, and when the number of bits is insufficient, the binary number 0 is filled in; the sum and difference relationship between multiple integer powers of 2 means that an integer can be obtained by sum and difference operations of multiple integer powers of 2.

[0052] Specifically, assuming that the rounding coefficient is 2, the reciprocal of the rounding coefficient 0.5 must be multiplied before the multiplier outputs the result; the integer 7 is decomposed and represented by the sum and difference relationship between multiple integer powers of 2. One of the decomposition methods is 7=8-1=2 3 -2 0 .

[0053] As an optional embodiment, the rounded designated filter coefficient is split into the sum or difference of multiple integer powers of 2, including: recording the rounded designated filter coefficient as the first decomposed value; determining the first integer power of 2 corresponding to the first decomposed value, wherein the difference between the absolute value of the first integer power of 2 and the first decomposed value is the smallest; determining the size relationship between the first decomposed value and the first integer power of 2, and obtaining the calculation symbol corresponding to the first integer power of 2; determining the absolute value of the difference between the first decomposed value and the first integer power of 2 as the second decomposed value; using the method of obtaining the second decomposed value, iteratively updating the decomposed values ​​until the Nth decomposed value is equal to the corresponding Nth integer power of 2, and obtaining N integer powers of 2 constituting the rounded designated filter coefficient, and the calculation symbols corresponding to the N integer powers of 2, wherein N is greater than 1.

[0054] Optionally, N can be the number of decompositions or the number of iterations, both of which change synchronously in value, with a starting value of 1; the decomposed value changes with the number of decompositions; the integer power of 2 is related to the decomposed value, and its difference with the absolute value of the decomposed value should be minimized to achieve the purpose of reducing the number of decompositions; splitting the rounded specified filter coefficients into the sum or difference of multiple integer powers of 2 is an iterative process, and the termination condition of the iteration is that the decomposed value is equal to the corresponding integer power of 2. The integer power of 2 is a positive number, and its corresponding calculation symbol can be a plus sign or a minus sign. The calculation symbol of plus sign corresponds to the sum operation, and the calculation symbol of minus sign corresponds to the difference operation.

[0055] Specifically, the rounded specified filter coefficient is recorded as the decomposed value C BP The initial value of the decomposition number N is given as 1; for the calculated value C BP Calculate the integer power of 2 that has the smallest difference with its absolute value, denoted as And record and the calculated value C BP The sign of the difference The value can be positive or negative, where the positive sign represents C BP ≥0, the negative sign represents C BP <0; if Calculated value C BP Updated to The number of decompositions N is updated to N+1, and the decomposition process continues. Otherwise, the integer power decomposition of 2 ends, and the current number of decompositions is recorded as the maximum number of decompositions N.

[0056] As an optional embodiment, multiple bit shift operations on the input data of the multiplier are set according to the power exponents of each of the multiple integer powers of 2, including: determining the number of bit shifts of each of the multiple integer powers of 2 according to the power exponents of each of the multiple integer powers of 2; and left-shifting the number of bit shifts of each of the multiple integer powers of 2 to obtain multiple bit shift operations.

[0057] Optionally, the power exponent can be a non-infinite positive integer, a non-infinitely small negative integer, and 0; if the power exponent is a positive integer, the binary input data of the multiplier is left-shifted, that is, shifted toward higher bits; if the power exponent is a negative integer, the binary input data of the multiplier is right-shifted, that is, shifted toward lower bits; if the power exponent is 0, the binary input data of the multiplier is not shifted.

[0058] Specifically, assume that the binary input data of the multiplier is 101 (2) , if the exponent of an integer power of 2 is 1, then the binary number 101 is shifted left by one bit, that is, moved one bit to the higher bit, and represented as 1010 (2) .

[0059] It should be noted that, assuming that the input data of the multiplier is 5, the specified filter coefficient after rounding is 7, the calculation process is as follows: Initialization result T R =0; Step 2: Initialize the decomposed value C BP =7, initialize the decomposition times N = 1, and decompose the multiplier. When N = 1, calculate the same as C BP =7 The integer power of 2 with the smallest difference in absolute value Right now At the same time, due to C BP =7>0 and so is positive, and the integer power decomposition value of 2 is updated to C BP = -1, the number of decompositions is updated to N = 2, when N = 2, the calculation is the same as C BP = The integer power of 2 with the smallest difference in absolute value from -1 Right now At the same time, due to C BP =-1<0 and so is a negative sign, the number of decompositions is updated to k = 2, the decomposition process ends, and the maximum number of decompositions N = 2; the third step is to initialize the left shift calculation value C LL =101 (2) , initialize the number of left shifts l = N = 2, initialize the number of left shifts last time q 7 = 0, and perform left shift and addition calculation based on the integer power of 2 obtained by decomposition. When l = 2, the left shift calculation value C LL =101 (2) Shift Left Bit, that is, no shift is performed, and the left shift calculation value C is updated LL =101 (2) ,because Update the product to T R =0-101 (2) =-101(2) , update the number of left shifts to l = 1 ≠ 0, update the last left shift number When l=1, the calculated value C will be shifted left LL =101 (2) Shift Left bit, update the left shift calculation value C LL =101000 (2) ,because Update the product to T R =-101 (2) +101000 (2) =100011 (2) , update the left shift count to l=0, and end the calculation process.

[0060] Figure 3 FIG. 1 is a schematic diagram of a cumulative fundamental phasor calculation process according to an optional embodiment of the present invention. Figure 3 As shown, n is the serial number of the sampled voltage value, m is the length of a preset voltage value serial number, cycle is the fundamental component, and its oscillation period is the same as the voltage signal, T1 is the number of voltage values ​​in one cycle of the cycle, k is the serial number of the cycle, and K is the total number of cycles. The signal circular queue is a way to store voltage values. The length of the signal circular queue is fixed. The collected voltage values ​​are stored in the signal circular queue in the order of serial numbers. When the voltage value serial number exceeds the length of the signal circular queue, the previously stored voltage values ​​are overwritten in order of serial number value from small to large. In the same way, the sine value within a cycle, the cosine value within a cycle, the sine factor, and the cosine factor are stored to obtain one cycle sine circular queue, one cycle cosine circular queue, sine factor circular queue, and cosine factor circular queue, respectively. The cumulative fundamental phasor calculation process provided in the embodiment of the present invention can be divided into three steps. The first step is to cyclically calculate the sine and cosine factors, multiply the point newly added to the signal circulation queue with the corresponding position of one cycle of sine and cosine queues, and update the sine and cosine factor circulation queues, including determining the position of the current signal point in the signal circulation queue according to the position of the previous signal point in the signal circulation queue, saving the signal value removed from the position, and updating the signal value at the position; determining the position of the sine and cosine values ​​multiplied with the current signal point in one cycle of sine and cosine queues according to the position of the sine and cosine values ​​multiplied with the previous signal point, taking out the corresponding sine and cosine values ​​and multiplying them with the current point to obtain the sine and cosine factors of the current signal point; determining the position of the sine and cosine factors of the current signal point in the sine and cosine factor circulation queue according to the position of the sine and cosine factors of the previous signal point in the sine and cosine factor circulation queue, saving the sine and cosine factor values ​​removed from the position, and updating the sine and cosine factor values ​​at the position.

[0061] The second step is to implement filtering operations through parallel multiplication and summation of multi-cycle sine and cosine factors to obtain the real and imaginary parts of the multi-cycle fundamental phasor, including parallel multiplication and summation of the sine and cosine factor queues and filter coefficients of the data window composed of multiple cycles to obtain the real and imaginary parts of the fundamental phasor corresponding to the data window position; update the cyclic sequence of the real and imaginary parts of the fundamental phasor.

[0062] The third step is to sum the real and imaginary parts of the multi-cycle fundamental phasor to obtain the latest accumulated real and imaginary parts of the fundamental phasor, including extracting a specified number of real and imaginary parts of the fundamental phasor at periodic intervals from the cyclic sequence of the real and imaginary parts of the fundamental phasor; dividing the entire cyclic sequence of the real and imaginary parts of the fundamental phasor into two equal halves, and summing the real and imaginary parts of each cycle fundamental phasor in the first half and the second half respectively to obtain the real and imaginary parts of the accumulated fundamental phasor in the first half and the second half.

[0063] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that the distribution network high-resistance fault detection method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0065] According to an embodiment of the present invention, a distribution network high-resistance fault detection device for implementing the above-mentioned distribution network high-resistance fault detection method is also provided. Figure 4 is a structural block diagram of a distribution network high-resistance fault detection device provided according to an embodiment of the present invention. Figure 4 As shown, the distribution network high-resistance fault detection device includes: an acquisition module 41, a first calculation module 42, a second calculation module 43, a third calculation module 44 and a detection module 45. The distribution network high-resistance fault detection device is described below.

[0066] The acquisition module 41 is used to acquire the voltage signal of the target distribution network within the target time period.

[0067] The first calculation module 42 is used to select multiple moments within the target time period, and perform the following processing on the voltage signals at the multiple moments respectively to obtain the sine factors and cosine factors of the multiple moments: determine the sine value and cosine value corresponding to the phase of the voltage signal at the multiple moments; multiply the sine value corresponding to the phase of the voltage signal at the multiple moments by the voltage signal at the corresponding moment to obtain the sine factor of the multiple moments, and multiply the cosine value corresponding to the phase of the voltage signal at the multiple moments by the voltage signal at the corresponding moment to obtain the cosine factor of the multiple moments.

[0068] The second calculation module 43 is used to input the sine factors and cosine factors of each of the multiple moments into predetermined multipliers respectively, so that the sine factors of each of the multiple moments are multiplied by the specified filter coefficient to obtain the real parts of the fundamental phasors of each of the multiple moments, and the cosine factors of each of the multiple moments are multiplied by the specified filter coefficient to obtain the imaginary parts of the fundamental phasors of each of the multiple moments, wherein the specified filter coefficient is associated with the frequency of the voltage signal.

[0069] The third calculation module 44 is used to determine the accumulated fundamental phasor of the voltage signal according to the real part and the imaginary part of the fundamental phasor of each of the multiple moments.

[0070] The detection module 45 is used to perform high-resistance fault detection on the target distribution network according to the accumulated fundamental phasor of the voltage signal.

[0071] It should be noted that the acquisition module 41, the first calculation module 42, the second module 43, the third calculation module 44 and the detection module 45 correspond to steps S202 to S210 in the embodiment, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in the embodiment.

[0072] An embodiment of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one network device among multiple network devices of a computer network. The computer device includes a memory and a processor.

[0073] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the distribution network high-resistance fault detection method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned distribution network high-resistance fault detection method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0074] The processor can call the information and application program stored in the memory through the transmission device to perform the following steps: obtain the voltage signal of the target distribution network within the target time period; select multiple moments within the target time period, and perform the following processing on the voltage signals at the multiple moments respectively to obtain the sine factors and cosine factors of the multiple moments: determine the sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the multiple moments; multiply the sine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the sine factors of the multiple moments; multiply the cosine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the sine factors of the multiple moments; The sine factors and cosine factors of the multiple moments are respectively input into predetermined multipliers, so that the sine factors of the multiple moments are multiplied by the specified filter coefficients to obtain the real parts of the fundamental phasors of the multiple moments, and the cosine factors of the multiple moments are multiplied by the specified filter coefficients to obtain the imaginary parts of the fundamental phasors of the multiple moments, wherein the specified filter coefficients are associated with the frequency of the voltage signal; the cumulative fundamental phasor of the voltage signal is determined according to the real and imaginary parts of the fundamental phasors of the multiple moments; and the target distribution network is subjected to high-resistance fault detection according to the cumulative fundamental phasor of the voltage signal.

[0075] Optionally, the multiplier is determined in the following manner: obtaining the frequency of the voltage signal of the target distribution network; determining the specified filter coefficient according to the frequency of the voltage signal of the target distribution network; rounding the specified filter coefficient; splitting the rounded specified filter coefficient into the sum or difference of multiple integer powers of 2; setting multiple bit shift operations on the input data of the multiplier according to the power exponents of each of the multiple integer powers of 2; determining the multiplier according to the multiple bit shift operations and the sum and difference relationship between the multiple integer powers of 2.

[0076] Optionally, rounding the specified filter coefficients includes: obtaining a predetermined calculation accuracy; determining a rounding coefficient based on the calculation accuracy; multiplying the rounding coefficient with the specified filter coefficient; and rounding the specified filter coefficient after multiplication with the rounding coefficient to obtain the rounded specified filter coefficient.

[0077] Optionally, the multiplier is determined based on multiple bit shift operations and the sum and difference relationship between multiple integer powers of 2, including: determining the reciprocal of the rounding coefficient; determining the multiplier based on multiple bit shift operations, the sum and difference relationship between multiple integer powers of 2, and the reciprocal of the rounding coefficient.

[0078] Optionally, the rounded specified filter coefficient is split into the sum or difference of multiple integer powers of 2, including: recording the rounded specified filter coefficient as the first decomposed value; determining the first integer power of 2 corresponding to the first decomposed value, wherein the difference between the absolute value of the first integer power of 2 and the first decomposed value is the smallest; determining the size relationship between the first decomposed value and the first integer power of 2, and obtaining the calculation symbol corresponding to the first integer power of 2; determining the absolute value of the difference between the first decomposed value and the first integer power of 2 as the second decomposed value; and iteratively updating the decomposed values ​​in a manner to obtain the second decomposed value until the Nth decomposed value is equal to the corresponding Nth integer power of 2, thereby obtaining N integer powers of 2 constituting the rounded specified filter coefficient and the calculation symbols corresponding to the N integer powers of 2, respectively.

[0079] Optionally, multiple bit shift operations on the input data of the multiplier are set according to the power exponents of each of the multiple integer powers of 2, including: determining the number of shifts of each of the multiple integer powers of 2 according to the power exponents of each of the multiple integer powers of 2; and left-shifting the number of shifts of each of the multiple integer powers of 2 to obtain multiple bit shift operations.

[0080] By adopting the embodiment of the present invention, a scheme for detecting high-resistance faults in a distribution network is provided. By decomposing the filter coefficients of the multiplier into the sum or difference of multiple integer powers of 2, the purpose of reducing the number of displacements in the multiplication operation is achieved, thereby achieving the technical effect of quickly calculating the cumulative fundamental phasor of the voltage signal, thereby solving the technical problem that the traditional method of calculating the cumulative fundamental phasor has a large amount of calculation and a long time consumption, resulting in low efficiency of high-resistance fault detection in the distribution network.

[0081] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a non-volatile storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0082] The embodiment of the present invention further provides a non-volatile storage medium. Optionally, in this embodiment, the non-volatile storage medium can be used to store the program code executed by the power distribution network high-resistance fault detection method provided by the above embodiment.

[0083] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0084] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: obtaining a voltage signal of a target distribution network within a target time period; selecting multiple moments within the target time period, and performing the following processing on the voltage signals at the multiple moments, respectively, to obtain sine factors and cosine factors for the multiple moments: determining sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the multiple moments; multiplying the sine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain sine factors for the multiple moments, and multiplying the cosine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain sine factors for the multiple moments; The signals are multiplied to obtain the cosine factors of the respective moments; the sine factors and cosine factors of the respective moments are respectively input into predetermined multipliers, so that the sine factors of the respective moments are multiplied by the specified filter coefficients to obtain the real parts of the respective fundamental phasors of the respective moments, and the cosine factors of the respective moments are multiplied by the specified filter coefficients to obtain the imaginary parts of the respective fundamental phasors of the respective moments, wherein the specified filter coefficients are associated with the frequency of the voltage signal; the cumulative fundamental phasor of the voltage signal is determined according to the real and imaginary parts of the respective fundamental phasors of the respective moments; and the target distribution network is subjected to high-resistance fault detection according to the cumulative fundamental phasor of the voltage signal.

[0085] Optionally, the multiplier is determined in the following manner: obtaining the frequency of the voltage signal of the target distribution network; determining the specified filter coefficient according to the frequency of the voltage signal of the target distribution network; rounding the specified filter coefficient; splitting the rounded specified filter coefficient into the sum or difference of multiple integer powers of 2; setting multiple bit shift operations on the input data of the multiplier according to the power exponents of each of the multiple integer powers of 2; determining the multiplier according to the multiple bit shift operations and the sum and difference relationship between the multiple integer powers of 2.

[0086] Optionally, rounding the specified filter coefficients includes: obtaining a predetermined calculation accuracy; determining a rounding coefficient based on the calculation accuracy; multiplying the rounding coefficient with the specified filter coefficient; and rounding the specified filter coefficient after multiplication with the rounding coefficient to obtain the rounded specified filter coefficient.

[0087] Optionally, the multiplier is determined based on multiple bit shift operations and the sum and difference relationship between multiple integer powers of 2, including: determining the reciprocal of the rounding coefficient; determining the multiplier based on multiple bit shift operations, the sum and difference relationship between multiple integer powers of 2, and the reciprocal of the rounding coefficient.

[0088] Optionally, the rounded specified filter coefficient is split into the sum or difference of multiple integer powers of 2, including: recording the rounded specified filter coefficient as the first decomposed value; determining the first integer power of 2 corresponding to the first decomposed value, wherein the difference between the absolute value of the first integer power of 2 and the first decomposed value is the smallest; determining the size relationship between the first decomposed value and the first integer power of 2, and obtaining the calculation symbol corresponding to the first integer power of 2; determining the absolute value of the difference between the first decomposed value and the first integer power of 2 as the second decomposed value; and iteratively updating the decomposed values ​​in a manner to obtain the second decomposed value until the Nth decomposed value is equal to the corresponding Nth integer power of 2, thereby obtaining N integer powers of 2 constituting the rounded specified filter coefficient and the calculation symbols corresponding to the N integer powers of 2, respectively.

[0089] Optionally, multiple bit shift operations on the input data of the multiplier are set according to the power exponents of each of the multiple integer powers of 2, including: determining the number of shifts of each of the multiple integer powers of 2 according to the power exponents of each of the multiple integer powers of 2; and left-shifting the number of shifts of each of the multiple integer powers of 2 to obtain multiple bit shift operations.

[0090] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the distribution network high-resistance fault detection method in each embodiment of the present application.

[0091] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0092] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0093] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0096] If the integrated 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 non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0097] The above is only a preferred embodiment of the present invention. It should be pointed out that 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 should also be regarded as the scope of protection of the present invention.

Claims

1. A method for detecting high-resistance faults in a distribution network, characterized in that: include: Obtaining a voltage signal of a target distribution network within a target time period; Select multiple moments within the target time period, and perform the following processing on the voltage signals at the multiple moments respectively to obtain the sine factors and cosine factors of the multiple moments: determine the sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the multiple moments; multiply the sine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the sine factors of the multiple moments, and multiply the cosine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the cosine factors of the multiple moments; Inputting the sine factors and cosine factors of the multiple moments into predetermined multipliers respectively, so that the sine factors of the multiple moments are multiplied by the specified filter coefficient to obtain the real parts of the fundamental phasors of the multiple moments, and the cosine factors of the multiple moments are multiplied by the specified filter coefficient to obtain the imaginary parts of the fundamental phasors of the multiple moments, wherein the specified filter coefficient is associated with the frequency of the voltage signal; Determine the accumulated fundamental phasor of the voltage signal according to the real part and the imaginary part of the fundamental phasor at each of the plurality of moments; High-resistance fault detection is performed on the target distribution network according to the accumulated fundamental phasor of the voltage signal.

2. The method according to claim 1, characterized in that The multiplier is determined as follows: Acquiring the frequency of the voltage signal of the target distribution network; Determining the specified filter coefficient according to the frequency of the voltage signal of the target power distribution network; rounding the specified filter coefficients; Split the specified filter coefficient after rounding into the sum or difference of multiple integer powers of 2; Setting a plurality of bit shift operations on the input data of the multiplier according to respective power exponents of the plurality of integer powers of 2; The multiplier is determined according to the multiple bit shift operations and the sum and difference relationship between the multiple integer powers of 2.

3. The method according to claim 2, characterized in that The rounding of the specified filter coefficients comprises: Obtaining a predetermined calculation accuracy; Determine a rounding coefficient according to the calculation accuracy; multiplying the rounding coefficient by the specified filter coefficient; The designated filter coefficient multiplied by the rounding coefficient is rounded to obtain the rounded designated filter coefficient.

4. The method according to claim 3, characterized in that Determining the multiplier according to the multiple bit shift operations and the sum and difference relationship between the multiple integer powers of 2 includes: Determining the reciprocal of the rounding coefficient; The multiplier is determined according to the multiple bit shift operations, the sum and difference relationship between the multiple integer powers of 2, and the reciprocal of the rounding coefficient.

5. The method according to claim 2, characterized in that: The step of splitting the rounded specified filter coefficient into a plurality of sums or differences of integer powers of 2 includes: Recording the rounded specified filter coefficient as the first decomposed value; Determine a first integer power of 2 corresponding to the first decomposed value, wherein the difference between the first integer power of 2 and the absolute value of the first decomposed value is the smallest; Determine the magnitude relationship between the first decomposed value and the first integer power of 2, and obtain a calculation symbol corresponding to the first integer power of 2; Determine the absolute value of the difference between the first decomposed value and the first integer power of 2 as the second decomposed value; The decomposed values ​​are iteratively updated in a manner of obtaining the second decomposed value until the Nth decomposed value is equal to the corresponding Nth integer power of 2, thereby obtaining N integer powers of 2 constituting the rounded specified filter coefficients and calculation symbols corresponding to the N integer powers of 2, wherein: N is greater than 1.

6. The method according to claim 2, characterized in that The step of setting a plurality of bit shift operations on the input data of the multiplier according to respective power exponents of the plurality of integer powers of 2 comprises: Determining the number of shifts of each of the plurality of integer powers of 2 according to the power exponents of each of the plurality of integer powers of 2; The plurality of bit shift operations are obtained by left-shifting the plurality of integer powers of 2 by the respective bit shift times.

7. A distribution network high resistance fault detection device, characterized in that: include: An acquisition module is used to acquire a voltage signal of a target distribution network within a target time period; A first calculation module is used to select multiple moments within the target time period, and respectively process the voltage signals at the multiple moments as follows to obtain the sine factors and cosine factors of the multiple moments: determine the sine values ​​and cosine values ​​corresponding to the phases of the voltage signals at the multiple moments; multiply the sine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the sine factors of the multiple moments, and multiply the cosine values ​​corresponding to the phases of the voltage signals at the multiple moments by the voltage signals at the corresponding moments to obtain the cosine factors of the multiple moments; A second calculation module is used to input the sine factors and cosine factors of the multiple moments into a predetermined multiplier, so that the sine factors of the multiple moments are multiplied by the specified filter coefficient to obtain the real parts of the fundamental phasors of the multiple moments, and the cosine factors of the multiple moments are multiplied by the specified filter coefficient to obtain the imaginary parts of the fundamental phasors of the multiple moments, wherein the specified filter coefficient is associated with the frequency of the voltage signal; A third calculation module, used for determining the accumulated fundamental phasor of the voltage signal according to the real part and the imaginary part of the fundamental phasor at each of the multiple moments; The detection module is used to perform high-resistance fault detection on the target distribution network according to the accumulated fundamental phasor of the voltage signal.

8. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the distribution network high-resistance fault detection method according to any one of claims 1 to 6.

9. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is running, the processor executes the distribution network high-resistance fault detection method according to any one of claims 1 to 6.

10. A computer program product comprising computer instructions, characterized in that: The computer instructions are executed by the processor to implement the method for detecting high-resistance faults in a distribution network as described in any one of claims 1 to 6.

Citation Information

Cited By

  • Mamba network-based main and distribution cooperative fault detection method, equipment and medium

    CN119885083A

  • Master-Slave Cooperative Fault Detection Method, Device and Medium Based on Mamba Network

    CN119885083B