CN111443260A - Power grid phase difference detection method and system - Google Patents

Power grid phase difference detection method and system Download PDF

Info

Publication number
CN111443260A
CN111443260A CN202010331187.9A CN202010331187A CN111443260A CN 111443260 A CN111443260 A CN 111443260A CN 202010331187 A CN202010331187 A CN 202010331187A CN 111443260 A CN111443260 A CN 111443260A
Authority
CN
China
Prior art keywords
power grid
array
phase difference
grid
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010331187.9A
Other languages
Chinese (zh)
Inventor
马治中
高志刚
马中静
刘永强
郭星
云晖
王红梅
赵扬
杜娟
邵云峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Luliang Power Supply Co of State Grid Shanxi Electric Power Co Ltd
Original Assignee
Beijing Institute of Technology BIT
Luliang Power Supply Co of State Grid Shanxi Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Technology BIT, Luliang Power Supply Co of State Grid Shanxi Electric Power Co Ltd filed Critical Beijing Institute of Technology BIT
Priority to CN202010331187.9A priority Critical patent/CN111443260A/en
Publication of CN111443260A publication Critical patent/CN111443260A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/08Locating faults in cables, transmission lines, or networks
    • G01R31/088Aspects of digital computing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R25/00Arrangements for measuring phase angle between a voltage and a current or between voltages or currents

Abstract

The invention discloses a method and a system for detecting a phase difference of a power grid. The detection method comprises the steps of respectively obtaining voltage values of a first power grid and a second power grid at a current sampling moment and n-1 historical sampling moments before the current sampling moment, respectively storing the voltage values into a first array and a second array, forwardly shifting the phase of a voltage time sequence of the second power grid by 90 degrees, and storing the phase into a third array; then, the phase difference of the first power grid and the second power grid is calculated based on the calculus principle by utilizing the first array, the second array and the third array. The detection method provided by the invention utilizes historical data and calculates the phase difference between the first power grid and the second power grid based on the calculus principle, thereby avoiding detection errors caused by voltage and frequency fluctuation and the like and improving the detection precision.

Description

Power grid phase difference detection method and system
Technical Field
The invention relates to the technical field of power grid connection management, in particular to a power grid phase difference detection method and system.
Background
In a conventional power system, the connection relationship of power supply lines is generally adjusted according to the load situation. Taking a 35kV grid as an example, the grid can be obtained by a 220kV line or a 110kV line through a step-down transformer. In a practical power grid, a star connection is generally adopted for transformers on the 220kV side, and an angle connection is mainly adopted for transformers on the 110kV side and the 35kV side. This results in a voltage phase difference between a 35kV line obtained from 220kV grid step down and a 35kV line obtained from 110kV grid step down. If the phase difference is too large, the operations of grid connection, loop closing and the like cannot be performed, otherwise huge fault current can be generated, the power grid equipment is damaged, and the power system is in fault.
The existing phase difference detection method adopts a scheme of hardware zero crossing point detection as shown in fig. 1: the respective zero crossing time of the two sine waves is detected firstly, and then the difference is made to obtain the phase difference. For example, a sine wave is compared with a zero voltage by using a comparator, and a zero crossing point is obtained according to the turning time of an output signal of the comparator. But schemes based on zero crossing detection are susceptible to interference from factors such as electromagnetic and signal distortion. How to overcome the interference of factors such as electromagnetism and signal distortion in the phase difference detection process and improve the accuracy of phase difference detection becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a power grid phase difference detection method and a power grid phase difference detection system, so as to overcome the interference of factors such as electromagnetism and signal distortion in the phase difference detection process and improve the phase difference detection precision.
In order to achieve the purpose, the invention provides the following scheme:
a power grid phase difference detection method comprises the following steps:
respectively obtaining the voltage values of a first power grid and a second power grid at the current sampling moment and n-1 historical sampling moments before the current sampling moment to obtain a voltage time sequence of the first power grid and a voltage time sequence of the second power grid, and respectively storing the voltage time sequence of the first power grid and the voltage time sequence of the second power grid into a first array and a second array;
the phase of the voltage time sequence of the second power grid is shifted forwards by 90 degrees, and the voltage time sequence of the second power grid after phase shifting is stored in a third array;
multiplying the first n-m elements in the first array and the first n-m elements in the second array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a first calculation result; the first calculation result is S times of a cosine value of a phase difference between the first power grid and the second power grid, and m represents the number of sampling moments corresponding to a phase interval of 0-90 degrees of the first power grid or the second power grid;
multiplying the first n-m elements in the first array and the n-m elements in the third array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a second calculation result; the second calculation result is S times of the sine value of the phase difference between the first power grid and the second power grid;
and calculating the phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result.
Optionally, the phase of the voltage time series of the second power grid is shifted forward by 90 degrees, and the voltage time series of the second power grid after the phase shift is stored in the third array, which specifically includes:
and storing the last n-m elements in the second array into a third array.
Optionally, the calculating a phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result specifically includes:
and calculating an arc tangent value of a ratio of the first calculation result to the second calculation result as a phase difference between the first power grid and the second power grid.
Optionally, the calculating a phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result, and then further includes:
judging whether the phase difference is smaller than a potential difference threshold value or not to obtain a judgment result;
if the judgment result shows that the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment are acquired, and the first array and the second array are updated by using the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment; returning to the step of shifting the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase shifting into a third array;
and if the judgment result shows that the first power grid and the second power grid are not connected in parallel, stopping the grid connection and loop closing of the first power grid and the second power grid.
Optionally, the updating the first array and the second array by using the voltage value of the first power grid and the voltage value of the second power grid at the next sampling time specifically includes:
respectively removing the last element of the first array and the second array;
respectively shifting the first n-1 elements of the first array and the second array backwards by one element;
and respectively taking the voltage value of the first power grid and the voltage value of the second power grid acquired at the next sampling moment as first elements of the first array and the second array.
A grid phase difference detection system, the detection system comprising:
the data acquisition module is used for respectively acquiring the voltage values of the first power grid and the second power grid at the current sampling moment and n-1 historical sampling moments before the current sampling moment to obtain a voltage time sequence of the first power grid and a voltage time sequence of the second power grid, and respectively storing the voltage time sequence of the first power grid and the voltage time sequence of the second power grid into the first array and the second array;
the phase translation module is used for translating the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase translation into a third array;
the first calculation module is used for multiplying the first n-m elements in the first array and the first n-m elements in the second array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a first calculation result; the first calculation result is S times of a cosine value of a phase difference between the first power grid and the second power grid, and m represents the number of sampling moments corresponding to a phase interval of 0-90 degrees of the first power grid or the second power grid;
the second calculation module is used for multiplying the first n-m elements in the first array and the n-m elements in the third array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a second calculation result; the second calculation result is S times of the sine value of the phase difference between the first power grid and the second power grid;
and the phase difference calculation module is used for calculating the phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result.
Optionally, the phase shift module specifically includes:
and the phase shifting submodule is used for storing the last n-m elements in the second array into the third array.
Optionally, the phase difference calculating module specifically includes:
and the phase difference calculation submodule is used for calculating an arc tangent value of a ratio of the first calculation result to the second calculation result, and the arc tangent value is used as the phase difference of the first power grid and the second power grid.
Optionally, the detection system includes:
the judging module is used for judging whether the phase difference is smaller than a potential difference threshold value to obtain a judgment result;
the array updating module is used for waiting for acquiring the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment and updating the first array and the second array by using the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment if the judgment result shows that the first array and the second array are the same; returning to the step of shifting the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase shifting into a third array;
and the grid connection and loop closing stopping module is used for stopping the grid connection and loop closing of the first power grid and the second power grid if the judgment result shows that the first power grid and the second power grid are not connected.
Optionally, the array updating module specifically includes:
the first array updating submodule is used for respectively removing the last element of the first array and the last element of the second array;
the second array updating submodule is used for respectively shifting the first n-1 elements of the first array and the second array backwards by one element;
and the third array updating submodule is used for respectively taking the voltage value of the first power grid and the voltage value of the second power grid acquired at the next sampling moment as the first elements of the first array and the second array.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a power grid phase difference detection method and a system, wherein the detection method comprises the steps of firstly, respectively obtaining the voltage values of a first power grid and the voltage values of a second power grid at the current sampling moment and n-1 historical sampling moments before the current sampling moment to obtain the voltage time sequence of the first power grid and the voltage time sequence of the second power grid, and respectively storing the voltage time sequences into a first array and a second array; the phase of the voltage time sequence of the second power grid is shifted forwards by 90 degrees, and the voltage time sequence of the second power grid after phase shifting is stored in a third array; then, multiplying the first n-m elements in the first array and the first n-m elements in the second array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a first calculation result; multiplying the first n-m elements in the first array and the n-m elements in the third array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a second calculation result; and calculating the phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result. According to the detection method, historical data are used, the phase difference between the first power grid and the second power grid is calculated based on a calculus principle (namely the first calculation result is S times of a cosine value of the phase difference between the first power grid and the second power grid, and the second calculation result is a conclusion that the S times of the sine value of the phase difference between the first power grid and the second power grid is calculated based on the calculus principle).
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a hardware zero-crossing point detection system in the prior art provided by the present invention;
fig. 2 is a flowchart of a power grid phase difference detection method provided by the present invention;
fig. 3 is a hardware structure diagram of a power grid phase difference detection method and system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure based on which a power grid phase difference detection method and system according to an embodiment of the present invention are provided;
fig. 5 is a flowchart of a program of a single chip microcomputer in a hardware structure according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a power grid phase difference detection method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a power grid phase difference detection method and a power grid phase difference detection system, so as to overcome the interference of factors such as electromagnetism and signal distortion in the phase difference detection process and improve the phase difference detection precision.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
As shown in fig. 2, the present invention provides a method for detecting a phase difference of a power grid, where the method includes the following steps:
step 201, respectively obtaining a voltage value of a first power grid and a voltage value of a second power grid at a current sampling time and n-1 historical sampling times before the current sampling time to obtain a voltage time sequence of the first power grid and a voltage time sequence of the second power grid, and respectively storing the voltage time sequence of the first power grid and the voltage time sequence of the second power grid into a first array and a second array.
Step 202, shifting the phase of the voltage time sequence of the second power grid by 90 degrees forwards, and storing the voltage time sequence of the second power grid after phase shifting into a third array; the method specifically comprises the following steps: and storing the last n-m elements in the second array into a third array.
Step 203, multiplying the first n-m elements in the first array and the first n-m elements in the second array in a one-to-one correspondence manner respectively, and adding the obtained products to obtain a first calculation result; the first calculation result is S times of a cosine value of a phase difference between the first power grid and the second power grid, and m represents the number of sampling moments corresponding to a phase interval of 0 to 90 degrees of the first power grid or the second power grid.
Step 204, multiplying the first n-m elements in the first array and the n-m elements in the third array in a one-to-one correspondence manner respectively, and adding the obtained products to obtain a second calculation result; the second calculation result is S times of a sine value of a phase difference between the first power grid and the second power grid.
Step 205, calculating a phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result; the method specifically comprises the following steps: and calculating an arc tangent value of a ratio of the first calculation result to the second calculation result as a phase difference between the first power grid and the second power grid.
Step 205, calculating a phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result, and then further includes: judging whether the phase difference is smaller than a potential difference threshold value or not to obtain a judgment result; if the judgment result shows that the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment are acquired, and the first array and the second array are updated by using the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment; returning to the step of shifting the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase shifting into a third array; and if the judgment result shows that the first power grid and the second power grid are not connected in parallel, stopping the grid connection and loop closing of the first power grid and the second power grid.
The method includes the steps that the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment are used for updating the first array and the second array, and specifically includes the following steps: respectively removing the last element of the first array and the second array; respectively shifting the first n-1 elements of the first array and the second array backwards by one element; and respectively taking the voltage value of the first power grid and the voltage value of the second power grid acquired at the next sampling moment as first elements of the first array and the second array.
The invention also provides a power grid phase difference detection system, which comprises:
the data acquisition module is used for respectively acquiring the voltage values of the first power grid and the second power grid at the current sampling moment and n-1 historical sampling moments before the current sampling moment to obtain a voltage time sequence of the first power grid and a voltage time sequence of the second power grid, and respectively storing the voltage time sequence of the first power grid and the voltage time sequence of the second power grid into the first array and the second array;
the phase translation module is used for translating the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase translation into a third array; the phase shift module specifically includes: and the phase shifting submodule is used for storing the last n-m elements in the second array into the third array.
The first calculation module is used for multiplying the first n-m elements in the first array and the first n-m elements in the second array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a first calculation result; the first calculation result is S times of a cosine value of a phase difference between the first power grid and the second power grid, and m represents the number of sampling moments corresponding to a phase interval of 0 to 90 degrees of the first power grid or the second power grid.
The second calculation module is used for multiplying the first n-m elements in the first array and the n-m elements in the third array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a second calculation result; the second calculation result is S times of a sine value of a phase difference between the first power grid and the second power grid.
And the phase difference calculation module is used for calculating the phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result. The phase difference calculation module specifically includes: and the phase difference calculation submodule is used for calculating an arc tangent value of a ratio of the first calculation result to the second calculation result, and the arc tangent value is used as the phase difference of the first power grid and the second power grid.
The detection system comprises: the judging module is used for judging whether the phase difference is smaller than a potential difference threshold value to obtain a judgment result; the array updating module is used for waiting for acquiring the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment and updating the first array and the second array by using the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment if the judgment result shows that the first array and the second array are the same; returning to the step of shifting the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase shifting into a third array; and the grid connection and loop closing stopping module is used for stopping the grid connection and loop closing of the first power grid and the second power grid if the judgment result shows that the first power grid and the second power grid are not connected.
The array updating module specifically includes: the first array updating submodule is used for respectively removing the last element of the first array and the last element of the second array; the second array updating submodule is used for respectively shifting the first n-1 elements of the first array and the second array backwards by one element; and the third array updating submodule is used for respectively taking the voltage value of the first power grid and the voltage value of the second power grid acquired at the next sampling moment as the first elements of the first array and the second array.
The invention also provides a specific embodiment.
According to the embodiment of the invention, a 35kV power grid generated by 220kV voltage reduction is used as a first power grid, and a 35kV power grid generated by 110kV voltage reduction is used as a second power grid. The hardware configuration of the present embodiment is shown in fig. 3, and the schematic diagram of the hardware configuration is shown in fig. 4.
As shown in fig. 3 and 4, the hardware structure is composed of a voltage acquisition part and a phase difference calculation part, wherein the voltage acquisition part can adopt elements such as a voltage sensor, a mutual inductor and the like to convert the voltage of the power grid into digital quantity; the phase difference calculating part calculates the phase difference according to the voltage digital quantity.
The phase difference calculating part of the hardware structure provided by the invention can be realized by a singlechip, a digital control chip or a computer. Taking the use of a single chip microcomputer as an example, the program flow is shown in fig. 5.
As shown in fig. 6, the phase difference calculation section of the present invention specifically performs the phase difference calculation by:
step 1: the power grid voltage collected from a 35kV power grid generated by 220kV voltage reduction is represented by U1 and stored in an array S1 containing 1050 elements, the elements are S1[0] to S1[1049], respectively, S1[0] is the latest obtained data, and the data of S1 is the power grid voltage values obtained at different times, which is a discrete sine wave.
Step 2: the power grid voltage collected from a 35kV power grid generated by 110kV voltage reduction is represented by U2 and stored in an array S2 containing 1050 elements, the elements are S2[0] to S2[1049], respectively, S2[0] is the latest obtained data, and the data of S2 is the power grid voltage values obtained at different times, which is a discrete sine wave.
And step 3: the phase shift is carried out on the power grid voltage acquired from a 35kV power grid generated by 110kV voltage reduction, namely elements S2[50] to S2[1049] in an array S2 are stored in an array S3 with the capacity of 1000, wherein the elements are S3[0] to S3[999 ].
And 4, step 4: the elements S1[0] to S1[999] in the array S1 are multiplied by the elements S2[0] to S2[999] in the array S2, respectively, and the products are added to obtain voltage data A.
And 5: the elements S1[0] to S1[999] in the array S1 are multiplied by the elements S3[0] to S3[999] in the array S3, respectively, and the products are added to obtain voltage data B.
Step 6: the phase difference X is obtained by taking the arctan of the ratio of data B to data a, i.e., X ═ tg-1(B/A);
And 7: the voltage data in array S1 is sorted such that the values (i.e., voltage values) of elements S [1049] to S [1] are replaced by the values (i.e., voltage values) of elements S [1048] to S [0], respectively.
And 8: the data in array S1 is collated and the values (i.e., voltage values) of elements S [1049] to S [1] are replaced by the values (i.e., voltage values) of elements S [1048] to S [0], respectively.
And step 9: after waiting for 0.1ms, the next voltage value is obtained from step 1.
Compared with the prior art, the invention has the beneficial effects that:
(1) the power grid phase difference detection method is based on historical data, and detection errors caused by voltage and frequency fluctuation and other problems of a conventional hardware circuit can be effectively avoided.
(2) The power grid phase difference detection method only needs multiple times of multiplication and addition operation, the calculation amount of the algorithm is small, and the detection precision can be further improved by increasing the capacity of the array.
The equivalent embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts between the equivalent embodiments can be referred to each other.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In summary, this summary should not be construed to limit the present invention.

Claims (10)

1. A power grid phase difference detection method is characterized by comprising the following steps:
respectively obtaining the voltage values of a first power grid and a second power grid at the current sampling moment and n-1 historical sampling moments before the current sampling moment to obtain a voltage time sequence of the first power grid and a voltage time sequence of the second power grid, and respectively storing the voltage time sequence of the first power grid and the voltage time sequence of the second power grid into a first array and a second array;
the phase of the voltage time sequence of the second power grid is shifted forwards by 90 degrees, and the voltage time sequence of the second power grid after phase shifting is stored in a third array;
multiplying the first n-m elements in the first array and the first n-m elements in the second array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a first calculation result; the first calculation result is S times of a cosine value of a phase difference between the first power grid and the second power grid, and m represents the number of sampling moments corresponding to a phase interval of 0-90 degrees of the first power grid or the second power grid;
multiplying the first n-m elements in the first array and the n-m elements in the third array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a second calculation result; the second calculation result is S times of the sine value of the phase difference between the first power grid and the second power grid;
and calculating the phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result.
2. The grid phase difference detection method according to claim 1, wherein the phase of the voltage time series of the second grid is shifted forward by 90 degrees, and the voltage time series of the second grid after the phase shift is stored in a third array, specifically comprising:
and storing the last n-m elements in the second array into a third array.
3. The grid phase difference detection method according to claim 1, wherein the calculating a phase difference between the first grid and the second grid according to the first calculation result and the second calculation result specifically includes:
and calculating an arc tangent value of a ratio of the first calculation result to the second calculation result as a phase difference between the first power grid and the second power grid.
4. The grid phase difference detection method according to claim 1, wherein the calculating a phase difference between the first grid and the second grid according to the first calculation result and the second calculation result further comprises:
judging whether the phase difference is smaller than a potential difference threshold value or not to obtain a judgment result;
if the judgment result shows that the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment are acquired, and the first array and the second array are updated by using the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment; returning to the step of shifting the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase shifting into a third array;
and if the judgment result shows that the first power grid and the second power grid are not connected in parallel, stopping the grid connection and loop closing of the first power grid and the second power grid.
5. The grid phase difference detection method according to claim 4, wherein the updating the first array and the second array by using the voltage value of the first grid and the voltage value of the second grid at the next sampling time specifically comprises:
respectively removing the last element of the first array and the second array;
respectively shifting the first n-1 elements of the first array and the second array backwards by one element;
and respectively taking the voltage value of the first power grid and the voltage value of the second power grid acquired at the next sampling moment as first elements of the first array and the second array.
6. A grid phase difference detection system, the detection system comprising:
the data acquisition module is used for respectively acquiring the voltage values of the first power grid and the second power grid at the current sampling moment and n-1 historical sampling moments before the current sampling moment to obtain a voltage time sequence of the first power grid and a voltage time sequence of the second power grid, and respectively storing the voltage time sequence of the first power grid and the voltage time sequence of the second power grid into the first array and the second array;
the phase translation module is used for translating the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase translation into a third array;
the first calculation module is used for multiplying the first n-m elements in the first array and the first n-m elements in the second array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a first calculation result; the first calculation result is S times of a cosine value of a phase difference between the first power grid and the second power grid, and m represents the number of sampling moments corresponding to a phase interval of 0-90 degrees of the first power grid or the second power grid;
the second calculation module is used for multiplying the first n-m elements in the first array and the n-m elements in the third array in a one-to-one correspondence mode respectively, and adding the obtained products to obtain a second calculation result; the second calculation result is S times of the sine value of the phase difference between the first power grid and the second power grid;
and the phase difference calculation module is used for calculating the phase difference between the first power grid and the second power grid according to the first calculation result and the second calculation result.
7. The grid phase difference detection system according to claim 6, wherein the phase shifting module specifically includes:
and the phase shifting submodule is used for storing the last n-m elements in the second array into the third array.
8. The grid phase difference detection system according to claim 6, wherein the phase difference calculation module specifically includes:
and the phase difference calculation submodule is used for calculating an arc tangent value of a ratio of the first calculation result to the second calculation result, and the arc tangent value is used as the phase difference of the first power grid and the second power grid.
9. The grid phase difference detection system of claim 6, wherein the detection system comprises:
the judging module is used for judging whether the phase difference is smaller than a potential difference threshold value to obtain a judgment result;
the array updating module is used for waiting for acquiring the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment and updating the first array and the second array by using the voltage value of the first power grid and the voltage value of the second power grid at the next sampling moment if the judgment result shows that the first array and the second array are the same; returning to the step of shifting the phase of the voltage time sequence of the second power grid by 90 degrees forwards and storing the voltage time sequence of the second power grid after phase shifting into a third array;
and the grid connection and loop closing stopping module is used for stopping the grid connection and loop closing of the first power grid and the second power grid if the judgment result shows that the first power grid and the second power grid are not connected.
10. The grid phase difference detection system according to claim 9, wherein the array update module specifically includes:
the first array updating submodule is used for respectively removing the last element of the first array and the last element of the second array;
the second array updating submodule is used for respectively shifting the first n-1 elements of the first array and the second array backwards by one element;
and the third array updating submodule is used for respectively taking the voltage value of the first power grid and the voltage value of the second power grid acquired at the next sampling moment as the first elements of the first array and the second array.
CN202010331187.9A 2020-04-24 2020-04-24 Power grid phase difference detection method and system Pending CN111443260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010331187.9A CN111443260A (en) 2020-04-24 2020-04-24 Power grid phase difference detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010331187.9A CN111443260A (en) 2020-04-24 2020-04-24 Power grid phase difference detection method and system

Publications (1)

Publication Number Publication Date
CN111443260A true CN111443260A (en) 2020-07-24

Family

ID=71654400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010331187.9A Pending CN111443260A (en) 2020-04-24 2020-04-24 Power grid phase difference detection method and system

Country Status (1)

Country Link
CN (1) CN111443260A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112198375A (en) * 2020-09-29 2021-01-08 南方电网数字电网研究院有限公司 Phase identification method, device, equipment and storage medium for single-phase user

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR860005227A (en) * 1984-12-25 1986-07-18 니뽕 빅터 가부시끼 가이샤 Digital phase difference detection circuit
CN102288821A (en) * 2011-04-29 2011-12-21 北京合康亿盛变频科技股份有限公司 Measuring method, measuring device, measuring procedure and carrier for phase difference of three-phase circuit
CN102684208A (en) * 2012-05-24 2012-09-19 重庆大学 Wide-area reactive optimal running method for power distribution network
CN102928660A (en) * 2012-07-16 2013-02-13 珠海中慧微电子有限公司 Reactive power measurement method based on finite impulse response (FIR) digital filter
CN103001236A (en) * 2012-11-16 2013-03-27 国电联合动力技术有限公司 Wind turbine generator reactive power regulation method and system based on air quenching cooler (AQC) of wind power plant
CN103683330A (en) * 2013-12-24 2014-03-26 中国西电电气股份有限公司 Method and system for switching micro-grid system from off-grid mode to grid-connected mode
CN204168278U (en) * 2014-08-20 2015-02-18 北京无线电计量测试研究所 A kind of orthogonal lock-in-amplifier system for CPT atomic clock
CN105182077A (en) * 2015-09-18 2015-12-23 广东电网有限责任公司电力科学研究院 Electric power signal full-phase difference detection method and system according to cosine function modulation
CN110138010A (en) * 2019-05-30 2019-08-16 合肥为民电源有限公司 A kind of control method and device of inverter
CN110207804A (en) * 2019-06-21 2019-09-06 华中科技大学 A kind of sliding-model control method based on single mode optical fiber distribution acoustics sensor

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR860005227A (en) * 1984-12-25 1986-07-18 니뽕 빅터 가부시끼 가이샤 Digital phase difference detection circuit
CN102288821A (en) * 2011-04-29 2011-12-21 北京合康亿盛变频科技股份有限公司 Measuring method, measuring device, measuring procedure and carrier for phase difference of three-phase circuit
CN102684208A (en) * 2012-05-24 2012-09-19 重庆大学 Wide-area reactive optimal running method for power distribution network
CN102928660A (en) * 2012-07-16 2013-02-13 珠海中慧微电子有限公司 Reactive power measurement method based on finite impulse response (FIR) digital filter
CN103001236A (en) * 2012-11-16 2013-03-27 国电联合动力技术有限公司 Wind turbine generator reactive power regulation method and system based on air quenching cooler (AQC) of wind power plant
CN103683330A (en) * 2013-12-24 2014-03-26 中国西电电气股份有限公司 Method and system for switching micro-grid system from off-grid mode to grid-connected mode
CN204168278U (en) * 2014-08-20 2015-02-18 北京无线电计量测试研究所 A kind of orthogonal lock-in-amplifier system for CPT atomic clock
CN105182077A (en) * 2015-09-18 2015-12-23 广东电网有限责任公司电力科学研究院 Electric power signal full-phase difference detection method and system according to cosine function modulation
CN110138010A (en) * 2019-05-30 2019-08-16 合肥为民电源有限公司 A kind of control method and device of inverter
CN110207804A (en) * 2019-06-21 2019-09-06 华中科技大学 A kind of sliding-model control method based on single mode optical fiber distribution acoustics sensor

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周斌: "一种适用于自动准同期装置的改进傅立叶相位差算法", 《继电器》 *
王大为: "虚拟电能质量综合监测系统的研制与开发", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》 *
程志友等: "基于S变换与Hilbert变换动态无功功率检测", 《电子测量与仪器学报》 *
陈宇泽 等: "基于DSP Builder的正交矢量型数字锁相放大器实现", 《现代电子技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112198375A (en) * 2020-09-29 2021-01-08 南方电网数字电网研究院有限公司 Phase identification method, device, equipment and storage medium for single-phase user
CN112198375B (en) * 2020-09-29 2022-10-11 南方电网数字电网研究院有限公司 Phase identification method, device, equipment and storage medium for single-phase user

Similar Documents

Publication Publication Date Title
US20190190276A1 (en) Method and device for controlling distribution of unbalanced and harmonic power among parallel inverters
CN103257271B (en) A kind of micro-capacitance sensor harmonic wave based on STM32F107VCT6 and m-Acetyl chlorophosphonazo pick-up unit and detection method
CN112798982B (en) Model-based open-circuit fault diagnosis method and system for three-phase converter power tube
CN107632200B (en) Harmonic detection method based on discrete Fourier transform
CN104852566A (en) H-bridge cascade type STATCOM control system based on model prediction
CN108599165A (en) Three level active filters, its application system and method based on Compound Control Strategy
CN112310991B (en) Energy storage converter improved finite set model prediction control method based on disturbance observation
Jia et al. High frequency transient sparse measurement-based fault location for complex DC distribution networks
CN111443260A (en) Power grid phase difference detection method and system
Zhang et al. Time‐domain single‐ended fault location method that does not need remote‐end system information
CN202075344U (en) Electric energy meter and electric energy correction system
CN112186791A (en) Energy storage converter limited control set model prediction control method
CN108767887B (en) Sub-module capacitor voltage prediction correction method for high-voltage direct-current transmission
CN111030169A (en) Calculation method of power grid parameters under phase-locked condition and readable storage medium
CN105932689A (en) Control method and system of chain type STATCOM
CN113820564B (en) Fault detection method suitable for source network load storage complex power grid
CN112928772B (en) Three-phase two-level photovoltaic inverter direct-current overvoltage fault cause positioning method
Sivakumar et al. Modeling, analysis and control of bidirectional power flow in grid connected inverter systems
CN105958510B (en) SOC chip for power grid monitoring and control equipment
CN110427635B (en) LCC-HVDC optimized electromagnetic transient simulation method
CN111679591B (en) High-power direct-current digital physical hybrid simulation interface system
CN109639163B (en) PWM rectifier-based network-voltage-free magnetic chain observer phase compensation method
CN113991722A (en) Multi-feed-in direct current short-circuit ratio calculation method and device, storage medium and calculation equipment
CN110794356A (en) Based on L2Deconvolution transformer primary side transient signal measuring method and system
CN111413587A (en) Method and system for determining installation position of power distribution network fault monitoring device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220602

Address after: 033000 No.106, Jiaotong Road, Lishi District, Luliang City, Shanxi Province

Applicant after: LVLIANG POWER SUPPLY COMPANY, STATE GRID SHANXI ELECTRIC POWER Co.

Address before: 033000 No.106, Jiaotong Road, Lishi District, Luliang City, Shanxi Province

Applicant before: LVLIANG POWER SUPPLY COMPANY, STATE GRID SHANXI ELECTRIC POWER Co.

Applicant before: Beijing Institute of Technology

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200724

RJ01 Rejection of invention patent application after publication