Three-phase power grid phase sequence detection method and device, electronic equipment and medium

By acquiring and processing voltage data in a three-phase power grid and calculating the average of reactive power to judge the phase sequence, the problem of insufficient detection reliability in the prior art is solved, and the phase sequence detection with fast and low resource consumption is achieved.

CN119001256APending Publication Date: 2024-11-22GOODWE TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411219917.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing three-phase grid phase sequence detection method lacks detection reliability in high harmonic and frequency fluctuations, resulting in long detection time and large resource consumption.

Method used

By obtaining the actual values ​​of N three-phase voltages in the preset period, performing Clark transformation and SOGI transformation, the virtual real-time reactive power is calculated, and the average reactive power is calculated, and the average reactive power is used to judge the grid phase sequence using the average reactive power is used to determine the average reactive power of the power grid. , avoiding enhanced filtering of detection results.

Benefits of technology

It improves the reliability of the detection results, reduces the detection time and algorithm resource consumption, and can accurately judge the power grid phase sequence in high harmonic and frequency fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001256A_ABST
    Figure CN119001256A_ABST
Patent Text Reader

Abstract

The invention discloses a three-phase power grid phase sequence detection method and device, electronic equipment and a medium, relates to the field of phase sequence detection, and aims to stably judge the current phase sequence of a power grid due to the fact that a reactive power average value covers a allowance filtering effect of a preset period. N three-phase voltage actual values in the preset period need to be obtained firstly, then N three-phase virtual voltages and N virtual currents are determined according to the three-phase voltage actual values, and finally the reactive power average value of the power grid in the preset period is obtained through calculation. The current phase sequence of the power grid is accurately determined to be a positive sequence or a negative sequence by means of the reactive power average value, and the influence of harmonic waves and frequency cannot cause the change in the direction of the reactive power average value, so that the detected phase sequence result of the power grid is more reliable; and the detection time and the consumption of algorithm resources are greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of phase sequence detection, and in particular to a three-phase power grid phase sequence detection method, device, electronic equipment and medium. Background Art

[0002] In a three-phase power system, phase sequence refers to the order of the three phase voltages in the system. Ideally, the positive sequence of three-phase electricity is ABC, that is, the voltage of phase A precedes the voltage of phase B by 120°, and the voltage of phase B precedes the voltage of phase C by 120°; the negative sequence of three-phase electricity is ACB, that is, the voltage of phase A precedes the voltage of phase C by 120°, and the voltage of phase C precedes the voltage of phase B by 120°. The principle of phase sequence detection is to monitor and compare the phase relationship of the three-phase voltages based on the above determination method.

[0003] Currently, the commonly used phase sequence detection methods are the phase method and the phase-locked method. The phase method uses the instantaneous value and phase of the three-phase voltage sampling to determine whether the power grid is positive or negative sequence; the phase-locked method uses a phase-locked loop to determine the positive and negative sequence of the three-phase power grid. If the Udq out of the phase lock is a DC quantity, Ud is a positive value, and Uq is 0, then the phase sequence of the power grid is positive sequence. If the Udq out of the phase lock is a double frequency AC quantity, then the phase sequence of the power grid is negative sequence. Because the sampling parameters of the phase method and the phase-locked method are instantaneous values, the two methods have detection reliability problems in dealing with high harmonics and frequency fluctuation environments. In order to improve the reliability of the detection results, enhanced filtering is required, which will make the detection time longer and the algorithm resource consumption larger. Summary of the invention

[0004] The purpose of the present invention is to provide a three-phase power grid phase sequence detection method, device, electronic device and medium. This scheme obtains N three-phase voltage actual values ​​within a preset period, and then performs Clark transformation on the three-phase voltage actual values ​​to Uα and Uβ in the αβ coordinate system, and then Uα and Uβ are respectively transformed into three-phase virtual voltage and three-phase virtual current through SOGI and Clark, and virtual real-time reactive power is calculated, and then the reactive power average value within the preset period is calculated. Because the calculated reactive power average value itself covers the margin filtering effect of a preset period, the influence of harmonics and frequency cannot cause changes in the direction of the reactive power average value, so the power grid phase sequence result detected by this scheme is more reliable. In addition, this scheme does not require enhanced filtering, which greatly reduces the detection time and the consumption of algorithm resources.

[0005] In order to solve the above technical problems, the present invention provides a three-phase power grid phase sequence detection method, comprising:

[0006] Obtaining N actual values ​​of three-phase voltages of the power grid within a preset period, where N is an integer not less than 20;

[0007] Determine N three-phase virtual voltages and N three-phase virtual currents according to the N actual values ​​of the three-phase voltages;

[0008] Determine the average reactive power of the power grid within the preset period according to the N three-phase virtual voltages and the N three-phase virtual currents;

[0009] Based on the reactive power average value, it is determined whether the current phase sequence of the power grid is a positive sequence or a negative sequence.

[0010] Optionally, determining N three-phase virtual voltages and N three-phase virtual currents according to the N actual values ​​of the three-phase voltages includes:

[0011] Performing a Clack transformation on the actual value of the three-phase voltage at any acquisition time within the preset period to obtain a first voltage component corresponding to the α coordinate system and a second voltage component corresponding to the β coordinate system in the αβ coordinate system;

[0012] Performing SOGI changes on the first voltage component and the second voltage component at any acquisition moment within the preset period to obtain a third voltage component and a fourth voltage component corresponding to the first voltage component, and a first current component and a second current component corresponding to the second voltage component;

[0013] Performing Clark inverse transformation on the third voltage component and the fourth voltage component at any acquisition moment within the preset period to obtain N three-phase virtual voltages;

[0014] Clark inverse transformation is performed on the first current component and the second current component at any collection moment within the preset period to obtain N three-phase virtual currents.

[0015] Optionally, performing SOGI changes on the first voltage component and the second voltage component at any acquisition moment within the preset period to obtain a third voltage component and a fourth voltage component corresponding to the first voltage component, and a first current component and a second current component corresponding to the second voltage component, includes:

[0016] Taking the first voltage component at any sampling moment within the preset period as the voltage in the SOGI change, and taking the second voltage component at any sampling moment within the preset period as the current in the SOGI change;

[0017] The voltage and the current are respectively subjected to SOGI changes to obtain the third voltage component and the fourth voltage component corresponding to the voltage, and to obtain the first current component and the second current component corresponding to the current.

[0018] Optionally, determining the average reactive power of the power grid within the preset period according to the N three-phase virtual voltages and the N three-phase virtual currents includes:

[0019] Determine N reactive power instantaneous values ​​of the power grid within the preset period according to the N three-phase virtual voltages, the N three-phase virtual currents and a reactive power instantaneous value determination formula within the preset period;

[0020] Calculating an average value of the N instantaneous values ​​of reactive power, and using the calculation result as the reactive power average value;

[0021] The instantaneous value of reactive power is determined by the formula: Q ins =( / 3)*(U b -U c )*I a +(U c -U a )*I b +(U a -U b )*I c ), Ua, Ub, Uc are the three-phase virtual voltages respectively, Ia, Ib, Ic are the three-phase virtual currents respectively, and Qins is the instantaneous value of reactive power.

[0022] Optionally, the obtaining of N actual values ​​of three-phase voltages of the power grid within a preset period includes:

[0023] Collecting N three-phase voltage instantaneous values ​​of the power grid within the preset period;

[0024] The N three-phase voltage instantaneous values ​​are multiplied by preset proportional coefficients to obtain N three-phase voltage actual values, where the preset proportional coefficient is a coefficient of the associated sampling operational amplifier multiplication factor.

[0025] Optionally, after judging whether the current phase sequence of the power grid is a positive sequence or a negative sequence based on the actual average value of reactive power, the method further includes:

[0026] The current phase sequence of the power grid is prompted and stored accordingly.

[0027] Optionally, judging whether a current phase sequence of the power grid is a positive sequence or a negative sequence based on the reactive power average value includes:

[0028] Determining whether the reactive power average value is greater than zero or less than zero;

[0029] If the reactive power average value is greater than zero, it is determined that the current phase sequence of the power grid is a positive sequence;

[0030] If the reactive power average value is less than zero, it is determined that the current phase sequence of the power grid is a negative sequence.

[0031] In order to solve the above technical problems, the present invention also provides a three-phase power grid phase sequence detection device, comprising:

[0032] An acquisition unit, used to acquire N actual values ​​of three-phase voltages of the power grid within a preset period, where N is an integer not less than 20;

[0033] A first determining unit, configured to determine N three-phase virtual voltages and N three-phase virtual currents according to the N three-phase voltage actual values;

[0034] A second determining unit, configured to determine an average reactive power value of the power grid within the preset period according to the N three-phase virtual voltages and the N three-phase virtual currents;

[0035] A judging unit is used to judge whether a current phase sequence of the power grid is a positive sequence or a negative sequence based on the reactive power average value.

[0036] In order to solve the above technical problems, the present invention further provides an electronic device, comprising:

[0037] Memory for storing computer programs;

[0038] A processor is used to implement the steps of the three-phase power grid phase sequence detection method as described above when executing the computer program.

[0039] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the three-phase power grid phase sequence detection method as described above are implemented.

[0040] The purpose of the present invention is to provide a three-phase power grid phase sequence detection method, device, electronic device and medium. Because the reactive power average value itself covers a preset period of margin filtering effect, if you want to stably judge the current phase sequence of the power grid, you need to first obtain N three-phase voltage actual values ​​within the preset period. In addition, because the calculation of reactive power also requires the determination of three-phase virtual voltage and three-phase virtual current, it is necessary to determine N three-phase virtual voltages and N three-phase virtual currents according to the actual values ​​of each three-phase voltage. Finally, the reactive power average value of the power grid within the preset period is calculated, and the current phase sequence of the power grid is accurately determined to be positive or negative based on the reactive power average value. In this scheme, the current phase sequence of the power grid is determined by the calculated reactive power average value, and the calculated reactive power average value itself covers a preset period of margin filtering effect, so the influence of harmonics and frequency cannot cause changes in the direction of the reactive power average value, so the power grid phase sequence result detected by this scheme is more reliable. In addition, this scheme does not require enhanced filtering, which greatly reduces the detection time and the consumption of algorithm resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0042] Figure 1 A process flow chart of a three-phase power grid phase sequence detection method provided by the present invention;

[0043] Figure 2 A schematic diagram of a SOGI transformation and a Clack transformation provided by the present invention;

[0044] Figure 3 A process flow chart of another three-phase power grid phase sequence detection method provided by the present invention;

[0045] Figure 4 A schematic structural diagram of a three-phase power grid phase sequence detection device provided by the present invention;

[0046] Figure 5 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION

[0047] The core of the present invention is to provide a three-phase power grid phase sequence detection method, device, electronic device and medium. This scheme obtains N actual values ​​of three-phase voltage within a preset period, and then performs Clark transformation on the actual values ​​of the three-phase voltage to Uα and Uβ in the αβ coordinate system, and then Uα and Uβ are respectively transformed into three-phase virtual voltage and three-phase virtual current through SOGI and Clark, and the virtual real-time reactive power is calculated, and then the reactive power average value within the preset period is calculated. Because the calculated reactive power average value itself covers the margin filtering effect of a preset period, the influence of harmonics and frequency cannot cause changes in the direction of the reactive power average value, so the power grid phase sequence result detected by this scheme is more reliable. In addition, this scheme does not require enhanced filtering, which greatly reduces the detection time and the consumption of algorithm resources.

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 are within the scope of protection of the present invention.

[0049] Please refer to Figure 1 , Figure 1 A process flow chart of a three-phase power grid phase sequence detection method provided by the present invention. The method comprises:

[0050] S11: Obtaining N actual values ​​of three-phase voltages of the power grid within a preset period, where N is an integer not less than 20;

[0051] S12: Determine N three-phase virtual voltages and N three-phase virtual currents according to the N three-phase voltage actual values;

[0052] S13: determining an average reactive power value of the power grid within a preset period according to the N three-phase virtual voltages and the N three-phase virtual currents;

[0053] S14: Determine whether the current phase sequence of the power grid is positive or negative based on the reactive power average value.

[0054] In the present invention, considering that the actual value of reactive power itself covers the margin filtering effect of a preset period, and the reactive power needs to be obtained based on the corresponding three-phase virtual voltage and three-phase virtual current, when judging the phase sequence of the power grid, it is necessary to first obtain the N actual values ​​of the three-phase voltage of the power grid within the preset period, and then determine the N three-phase virtual voltages and N three-phase virtual currents based on the determined actual values ​​of each three-phase voltage, and finally calculate the reactive power average value of the power grid within the preset period based on the determined N three-phase virtual voltages and N three-phase virtual currents, and then use the reactive power average value to accurately judge the current phase sequence of the power grid. Because the influence of harmonics and frequency cannot cause changes in the direction of the reactive power average value, the power grid phase sequence result detected by this scheme is more reliable, that is, this scheme has low sensitivity to high harmonics and frequency fluctuations, and no special filtering processing is required. The time response is faster and the algorithm resource consumption is also smaller.

[0055] It should be noted that the three-phase power grid phase sequence detection method provided in this application is a power method. Compared with the commonly used phase method and phase-locked method, the reactive power calculated by the power method itself covers the margin filtering effect of one cycle. The influence of harmonics and frequency is reflected in the change of reactive power size. The total amount will not cause changes in the direction of reactive power. The sensitivity to high harmonics and frequency fluctuations is relatively low, and no special filtering processing is required. The time response is fast and the algorithm resource consumption is also small. At the same time, this method is also more applicable to phase sequence detection in weak grid-connected scenarios such as diesel generators or microgrids.

[0056] The present embodiment provides a three-phase power grid phase sequence detection method. Since the reactive power average value itself covers a preset period of margin filtering effect, in order to stably determine the current phase sequence of the power grid, it is necessary to first obtain N three-phase voltage actual values ​​within the preset period. In addition, since the calculation of reactive power also requires the determination of three-phase virtual voltage and three-phase virtual current, it is necessary to determine N three-phase virtual voltages and N three-phase virtual currents according to the actual values ​​of each three-phase voltage. Finally, the reactive power average value of the power grid within the preset period is obtained through calculation, and the current phase sequence of the power grid is accurately determined to be positive or negative based on the reactive power average value. In the present scheme, the current phase sequence of the power grid is determined by the calculated reactive power average value, and the calculated reactive power average value itself covers a preset period of margin filtering effect, so the influence of harmonics and frequency cannot cause changes in the direction of the reactive power average value, so the power grid phase sequence result detected by the present scheme is more reliable. In addition, the present scheme does not require enhanced filtering, which greatly reduces the detection time and the consumption of algorithm resources.

[0057] Based on the above embodiments:

[0058] As an optional embodiment, determining N three-phase virtual voltages and N three-phase virtual currents according to N three-phase voltage actual values ​​includes:

[0059] Performing Clack transformation on the actual value of the three-phase voltage at any acquisition time within the preset period to obtain a first voltage component corresponding to the α coordinate system and a second voltage component corresponding to the β coordinate system in the αβ coordinate system;

[0060] Perform SOGI changes on the first voltage component and the second voltage component at any acquisition time within a preset period to obtain the third voltage component and the fourth voltage component corresponding to the first voltage component, and the first current component and the second current component corresponding to the second voltage component;

[0061] Performing Clark inverse transformation on the third voltage component and the fourth voltage component at any acquisition time within a preset period to obtain N three-phase virtual voltages;

[0062] Clark inverse transformation is performed on the first current component and the second current component at any collection moment within a preset period to obtain N three-phase virtual currents.

[0063] In the present invention, in order to determine N three-phase virtual voltages and corresponding N three-phase virtual currents according to N three-phase voltage actual values, two processes are generally required. One process is to convert the three-phase voltage actual values ​​in the ABC coordinate system into the first voltage component U in the αβ coordinate system. α And the second voltage component U β , the other process is to convert the first voltage component U in the αβ coordinate system α Convert to the three-phase virtual voltage in the ABC coordinate system, and convert the second voltage component U in the αβ coordinate system βThe three-phase virtual current is converted into the three-phase virtual current in the ABC coordinate system, wherein the first process is to perform a Clack transformation on the actual value of the three-phase voltage at any acquisition time within the preset period, and perform a SOGI (Single-Phase PLL, second-order generalized integrator) change on the first voltage component and the second voltage component at any acquisition time within the preset period; and the second process is to perform a Clark inverse transformation on the first current component and the second current component at any acquisition time within the preset period. In addition, because the determination of the average value of reactive power in practical applications requires a three-phase virtual voltage and a three-phase virtual current, the three-phase virtual current can be obtained through the above process, and the final determination process of the three-phase virtual voltage used for calculation is to obtain the third voltage component and the fourth voltage component after the initial three-phase voltage actual value is successively subjected to a SOGI change and a Clack transformation, and the third voltage component and the fourth voltage component at any acquisition time within the preset period are subjected to a Clark inverse transformation to obtain the three-phase virtual voltage required for the final calculation, thereby ensuring the integrity of the three-phase current determination process and thereby improving the reliability of the reactive power average value calculation process.

[0064] As an optional embodiment, SOGI changes are performed on the first voltage component and the second voltage component at any acquisition time within a preset period to obtain the third voltage component and the fourth voltage component corresponding to the first voltage component, and the first current component and the second current component corresponding to the second voltage component, including:

[0065] The first voltage component at any sampling moment in the preset period is used as the voltage in the SOGI change, and the second voltage component at any sampling moment in the preset period is used as the current in the SOGI change;

[0066] The voltage and the current are respectively subjected to SOGI changes to obtain a third voltage component and a fourth voltage component corresponding to the voltage, and to obtain a first current component and a second current component corresponding to the current.

[0067] In the present invention, SOGI changes are performed on the first voltage component and the second voltage component at any collection moment in a preset period respectively. In fact, the first voltage component at any collection moment in the preset period is used as the voltage U in the SOGI change, and the second voltage component at any collection moment in the preset period is used as the current I in the SOGI change. Then, SOGI changes are performed on the voltage and the current respectively to obtain two voltage components in the αβ coordinate system corresponding to the voltage - the third voltage component and the fourth voltage component, and to obtain two current components in the αβ coordinate system corresponding to the current - the first current component and the second current component, thereby ensuring the integrity of the SOGI change.

[0068] As an optional embodiment, determining the average reactive power of the power grid within a preset period according to N three-phase virtual voltages and N three-phase virtual currents includes:

[0069] Determine N reactive power instantaneous values ​​of the power grid within a preset period according to a formula for determining N three-phase virtual voltages, N three-phase virtual currents and reactive power instantaneous values ​​within a preset period;

[0070] Calculate the average value of N reactive power instantaneous values, and use the calculation result as the reactive power average value;

[0071] Among them, the formula for determining the instantaneous value of reactive power is: Q ins =( / 3)*(U b -U c )*I a +(U c -U a )*I b +(U a -U b )*I c ), U a , U b , U c They are three-phase virtual voltage, I a ,I b ,I c They are the three-phase virtual current, Q ins is the instantaneous value of reactive power.

[0072] In the present invention, because any three-phase virtual voltage and three-phase virtual current corresponds to an instantaneous value of reactive power, it is necessary to first divide the N three-phase virtual voltages and the N three-phase virtual currents into N groups, calculate the corresponding instantaneous values ​​of reactive power respectively, and then sum the calculated N instantaneous values ​​of reactive power and divide them by N to obtain the average value of the N instantaneous values ​​of reactive power, so as to obtain the average value of reactive power, thereby ensuring the integrity of the calculation of the average value of reactive power.

[0073] As an optional embodiment, obtaining N actual values ​​of three-phase voltages of a power grid within a preset period includes:

[0074] Collect N three-phase voltage instantaneous values ​​of the power grid within a preset period;

[0075] The N three-phase voltage instantaneous values ​​are multiplied by preset proportional coefficients to obtain N three-phase voltage actual values. The preset proportional coefficient is the coefficient of the associated sampling operational amplifier multiplication factor.

[0076] In the present invention, because in the specific process of obtaining the N actual values ​​of the three-phase voltage of the power grid within the preset period, it is necessary to first collect the N instantaneous values ​​of the three-phase voltage of the power grid within the preset period, because the instantaneous values ​​of the three-phase voltage need to be divided before being collected to perform corresponding voltage reduction, and then reduced by the corresponding multiples of the operational amplifier before being collected, so after the instantaneous values ​​of the three-phase voltage are collected, they need to be restored, that is, the N instantaneous values ​​of the three-phase voltage are multiplied by the preset proportional coefficients respectively, wherein the preset proportional coefficients are associated with the sampling operational amplifier multiplier, so the three-phase voltages obtained after the instantaneous values ​​of the three-phase voltages are multiplied by the preset proportional coefficients are equal to the three-phase voltages before the voltage division sampling, thereby ensuring the accuracy of obtaining the actual values ​​of the three-phase voltages.

[0077] It should be noted that in practical applications, the process of three-phase electrical phase sequence detection is roughly divided into four steps: Figure 2 As shown:

[0078] Step 1: When collecting the instantaneous value of the three-phase voltage, the processor needs to first divide the instantaneous value of the three-phase voltage of the power grid and isolate the ADC (Analog-Digital Conversion) sampling. After the sampling is completed, the sampling coefficient ratio is restored and the actual value of the three-phase voltage is calculated.

[0079] Step 2: The actual values ​​of the three-phase voltages are transformed by Clark to obtain the U in the α β coordinate system. α and U β In this step, in order to identify the positive and negative sequence of the three-phase voltage, we first perform Clark transformation on the three-phase voltages UA, UB, and UC to obtain the two vertical components U in the αβ coordinate system. α , U β ; In practice, these two components U α , U β Normally it should be 90 degrees leading or lagging, which means that the three-phase voltages before the transformation are 120 degrees ahead or lagging each other.

[0080] Step 3: Put U α and U β Consider them as U and I respectively, and calculate the reactive power Q, as follows: Figure 3 As shown, the specific process is as follows: First, U α Treat it as U and make a SOGI change to get U alfa and U beta , will U β Treat it as I and perform SOGI transformation to obtain I alfa and I beta ; Secondly, for U alfa and U beta Perform Clark inverse transformation to obtain the three-phase virtual voltage U a , Ub , U c , perform Clark inverse transformation on Ialfa and Ibeta to obtain the three-phase virtual current I a ,I b ,I c ; Finally, the three-phase virtual voltage U a , U b , U c and three-phase virtual current I a ,I b ,I c Perform power calculation to obtain active power P and reactive power Q. The calculation formula for the instantaneous value of active power Pins is: Pins=U a *l a + U b *l b + U c *l c , the instantaneous value of reactive power is determined by: Q ins =( / 3)*(U b -U c )*I a +(U c -U a )*I b +(U a -U b )*I c ); In this step, U α and U β The power calculation is performed by transforming them into U and I respectively for the convenience of power calculation and strong filtering effect, because the power calculation has a cycle of filtering, which can prevent misjudgment due to harmonics and high and low interference when the voltage phase is directly judged without transformation. Among them, SOGI transformation and Clark inverse transformation are both for calculating reactive power Q. In the process of calculating reactive power Q, the power factor can also be calculated. The power factor actually has the same meaning as the reactive power Q. The positive and negative represent the leading and lagging relationship of Uα and Uβ (corresponding to the reactive capacitance and inductance).

[0081] Step 4: Determine the positive and negative directions of reactive power Q. A positive reactive power Q indicates a positive sequence grid, and a negative reactive power Q indicates a negative sequence grid. α and U β The phase relationship, if Q>0, then U α Advance U β , that is, the three-phase voltage U A , U B , U CLeading in sequence, representing the positive sequence power grid; if Q<0, then U α Hysteresis U β , that is, the three-phase voltage U A , U B , U C Non-sequential leading, representing a negative sequence grid.

[0082] The core and advantage of the power method used in this solution is that it has a built-in periodic filtering effect and better stability. At the same time, because power calculation is originally a basic library function in power electronic conversion, it can be directly called and is more convenient to use.

[0083] As an optional embodiment, after judging whether the current phase sequence of the power grid is a positive sequence or a negative sequence based on the actual average value of reactive power, the method further includes:

[0084] Provide corresponding prompts and storage for the current phase sequence of the power grid.

[0085] In the present invention, after judging whether the current phase sequence of the power grid is positive or negative based on the actual average value of reactive power, it is also necessary to provide corresponding prompts and storage for the current phase sequence of the power grid. For example, when the current phase sequence of the power grid is positive, a corresponding display is performed on the display screen, and a corresponding voice broadcast or sound is emitted through a sound prompt device. Secondly, the time corresponding to the positive sequence and the positive sequence itself are stored to facilitate subsequent situation analysis and practical application.

[0086] As an optional embodiment, judging whether the current phase sequence of the power grid is a positive sequence or a negative sequence based on the reactive power average value includes:

[0087] Determine whether the average reactive power value is greater than zero or less than zero;

[0088] If the average value of reactive power is greater than zero, it is determined that the current phase sequence of the power grid is positive sequence;

[0089] If the reactive power average value is less than zero, it is determined that the current phase sequence of the power grid is a negative sequence.

[0090] In the present invention, to determine whether the current phase sequence of the power grid is a positive sequence or a negative sequence, it is actually only necessary to determine whether the reactive power average value is greater than zero or less than zero. If the reactive power average value is greater than zero, it proves that the current phase sequence of the power grid is a positive sequence; conversely, if the reactive power average value is less than zero, it proves that the current phase sequence of the power grid is a negative sequence, thereby ensuring the integrity of the phase sequence judgment.

[0091] Please refer to Figure 4 , Figure 4 The present invention provides a schematic diagram of the structure of a three-phase power grid phase sequence detection device. The device includes:

[0092] An acquisition unit 11 is used to acquire N actual values ​​of three-phase voltages of the power grid within a preset period, where N is an integer not less than 20;

[0093] A first determining unit 12, configured to determine N three-phase virtual voltages and N three-phase virtual currents according to the N three-phase voltage actual values;

[0094] A second determining unit 13, configured to determine an average reactive power value of the power grid within a preset period according to the N three-phase virtual voltages and the N three-phase virtual currents;

[0095] The judging unit 14 is used to judge whether the current phase sequence of the power grid is a positive sequence or a negative sequence based on the reactive power average value.

[0096] The three-phase power grid phase sequence detection device provided in this embodiment corresponds to the above method, so it has the same beneficial effects as the above method. Therefore, for the embodiments of the three-phase power grid phase sequence detection device part, please refer to the description of the embodiments of the method part, which will not be repeated here.

[0097] Please refer to Figure 5 , Figure 5 The present invention provides a schematic diagram of the structure of an electronic device. The electronic device includes:

[0098] A memory 20, used for storing computer programs;

[0099] The processor 21 is used to implement the steps of the above-mentioned three-phase power grid phase sequence detection method when executing the computer program.

[0100] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0101] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0102] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein the computer program, after being loaded and executed by the processor 21, can implement the relevant steps of the three-phase power grid phase sequence detection method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. Data 203 may include, but is not limited to, a three-phase power grid phase sequence detection method, etc.

[0103] In some embodiments, the electronic device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power source 25 , and a communication bus 26 .

[0104] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure.

[0105] The purpose of this embodiment is to provide an electronic device, in which the memory 20 is used to store computer programs, and the processor 21 is used to implement the steps of the above-mentioned three-phase power grid phase sequence detection method when executing the computer program, so that the detection process is more efficient and accurate.

[0106] The present invention also provides an embodiment corresponding to a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned three-phase power grid phase sequence detection method are implemented.

[0107] It is understandable that if the method in the above embodiment 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 technical solution of the present invention is essentially 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, and the computer software product is stored in a storage medium to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0108] The computer-readable storage medium provided in this embodiment corresponds to the above method, and therefore has the same beneficial effects as the above method. Therefore, for the embodiments of the computer-readable storage medium part, please refer to the description of the embodiments of the method part, which will not be repeated here.

[0109] It should be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0110] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A three-phase power grid phase sequence detection method, It is characterized in that include: Obtaining N actual values ​​of three-phase voltages of the power grid within a preset period, where N is an integer not less than 20; Determine N three-phase virtual voltages and N three-phase virtual currents according to the N three-phase voltage actual values; Determine the average reactive power of the power grid within the preset period according to the N three-phase virtual voltages and the N three-phase virtual currents; Based on the reactive power average value, it is determined whether the current phase sequence of the power grid is a positive sequence or a negative sequence.

2. The three-phase power grid phase sequence detection method according to claim 1, It is characterized in that The determining N three-phase virtual voltages and N three-phase virtual currents according to the N three-phase voltage actual values ​​comprises: Performing a Clack transformation on the actual value of the three-phase voltage at any acquisition time within the preset period to obtain a first voltage component corresponding to the α coordinate system and a second voltage component corresponding to the β coordinate system in the αβ coordinate system; Performing SOGI changes on the first voltage component and the second voltage component at any acquisition moment within the preset period to obtain a third voltage component and a fourth voltage component corresponding to the first voltage component, and a first current component and a second current component corresponding to the second voltage component; Performing Clark inverse transformation on the third voltage component and the fourth voltage component at any collection time within the preset period to obtain N three-phase virtual voltages; Clark inverse transformation is performed on the first current component and the second current component at any collection moment within the preset period to obtain N three-phase virtual currents.

3. The three-phase power grid phase sequence detection method according to claim 2, It is characterized in that The first voltage component and the second voltage component at any acquisition moment within the preset period are respectively subjected to SOGI changes to obtain a third voltage component and a fourth voltage component corresponding to the first voltage component, and a first current component and a second current component corresponding to the second voltage component, including: Taking the first voltage component at any acquisition time within the preset period as the voltage in the SOGI change, and taking the second voltage component at any acquisition time within the preset period as the current in the SOGI change; The voltage and the current are respectively subjected to SOGI changes to obtain the third voltage component and the fourth voltage component corresponding to the voltage, and to obtain the first current component and the second current component corresponding to the current.

4. The three-phase power grid phase sequence detection method according to claim 1, It is characterized in that The determining the average reactive power of the power grid within the preset period according to the N three-phase virtual voltages and the N three-phase virtual currents includes: Determine N reactive power instantaneous values ​​of the power grid within the preset period according to the N three-phase virtual voltages, the N three-phase virtual currents and a reactive power instantaneous value determination formula within the preset period; Calculating an average value of N instantaneous values ​​of reactive power, and using the calculation result as the reactive power average value; The instantaneous value of reactive power is determined by the formula: Q ins =( / 3)*(U b -U c )*I a +(U c -U a )*I b +(U a -U b )*I c ), U a , U b , U c are the three-phase virtual voltages, I a ,I b ,I c are the three-phase virtual currents, Q ins is the instantaneous value of reactive power.

5. The three-phase power grid phase sequence detection method according to claim 1, It is characterized in that The obtaining of N actual values ​​of three-phase voltages of the power grid within a preset period includes: Collecting N three-phase voltage instantaneous values ​​of the power grid within the preset period; The N three-phase voltage instantaneous values ​​are multiplied by preset proportional coefficients to obtain N three-phase voltage actual values, where the preset proportional coefficient is a coefficient of the associated sampling operational amplifier multiplication factor.

6. The three-phase power grid phase sequence detection method according to claim 1, It is characterized in that After judging whether the current phase sequence of the power grid is a positive sequence or a negative sequence based on the actual average value of reactive power, the method further includes: The current phase sequence of the power grid is prompted and stored accordingly.

7. The three-phase power grid phase sequence detection method according to any one of claims 1 to 6, It is characterized in that The determining, based on the reactive power average value, whether the current phase sequence of the power grid is a positive sequence or a negative sequence comprises: Determining whether the reactive power average value is greater than zero or less than zero; If the reactive power average value is greater than zero, it is determined that the current phase sequence of the power grid is a positive sequence; If the reactive power average value is less than zero, it is determined that the current phase sequence of the power grid is a negative sequence.

8. A three-phase power grid phase sequence detection device, It is characterized in that include: An acquisition unit, used to acquire N actual values ​​of three-phase voltages of the power grid within a preset period, where N is an integer not less than 20; A first determining unit, configured to determine N three-phase virtual voltages and N three-phase virtual currents according to the N three-phase voltage actual values; A second determining unit, configured to determine an average reactive power value of the power grid within the preset period according to the N three-phase virtual voltages and the N three-phase virtual currents; A judging unit is used to judge whether a current phase sequence of the power grid is a positive sequence or a negative sequence based on the reactive power average value.

9. An electronic device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the three-phase power grid phase sequence detection method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the three-phase power grid phase sequence detection method according to any one of claims 1 to 7 are implemented.