CN110888020B - Synchronous and asynchronous alternating current mixed sampling method based on threshold value - Google Patents
Synchronous and asynchronous alternating current mixed sampling method based on threshold value Download PDFInfo
- Publication number
- CN110888020B CN110888020B CN201911208864.1A CN201911208864A CN110888020B CN 110888020 B CN110888020 B CN 110888020B CN 201911208864 A CN201911208864 A CN 201911208864A CN 110888020 B CN110888020 B CN 110888020B
- Authority
- CN
- China
- Prior art keywords
- frequency
- point
- sampling
- sampling method
- threshold
- 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.)
- Active
Links
- 238000005070 sampling Methods 0.000 title claims abstract description 68
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 28
- 230000008859 change Effects 0.000 claims abstract description 35
- 230000007704 transition Effects 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 241000540325 Prays epsilon Species 0.000 claims description 2
- 230000010355 oscillation Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
- 238000009827 uniform distribution Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/08—Locating faults in cables, transmission lines, or networks
- G01R31/088—Aspects of digital computing
Abstract
A threshold-based synchronous and asynchronous alternating current hybrid sampling method solves the problem that sampled data are inaccurate after system frequency changes sharply when a power system fails. The method comprises the following steps: determining a frequency threshold value for switching two sampling modes; collecting real-time data of the power, wherein the data are known as follows: [ (t)1,y1)、(t2,y2)、……、(ti,yi)、……(tn,yn)]And the frequency corresponding to the above-mentioned acquisition point is (f)1,f2,……fi……fn) Wherein t isi(i-1 to n) are time points acquired in time series, yi(i is 1 to n) is the amplitude of the acquired data; verifying a frequency change point; determining a sampling pattern at tiThe former time acquisition mode is a synchronous sampling method, at tiThe later time acquisition mode is an asynchronous sampling method; at tpThe former time acquisition mode is an asynchronous sampling method, at tpThe later time acquisition mode is a synchronous sampling method.
Description
Technical Field
The invention relates to the technical field of power system automation, in particular to a synchronous and asynchronous alternating current hybrid sampling method based on a threshold value.
Background
At present, the inside of a power grid is more and more intelligent, and a plurality of high-level application software exist in the power grid, so that the requirement on the precision of power data is higher and higher. Accurate power data enables monitoring to be more accurate and scheduling decisions to be more correct. At present, in a power system, a lot of research is performed on collected data processing, such as data processing by using a quasi-simultaneous compensation algorithm, a windowing method, a software compensation algorithm, and the like. In the aspect of data acquisition, alternating current sampling is generally adopted in microcomputer measurement of periodic electrical signals, and sampling modes are divided into synchronous sampling and asynchronous sampling.
The synchronous sampling is subdivided into software synchronous sampling and hardware synchronous sampling, and most of the software synchronous sampling methods are used, namely, a software method is used for determining the sampling time. In the synchronous sampling of software, because the CPU can not measure the current period of the alternating current power information, only the previous period can be used for replacing the current period, if the variation range of the power frequency signal is not large, the CPU can measure the previous period; however, if the power system fails (power grid short-circuit fault, power grid low-frequency oscillation, and power grid high-frequency oscillation, as shown in fig. 2-4), the frequency of the power frequency signal changes rapidly, and the CPU may not measure the previous period accurately or cannot measure the previous period, so that the sampling points are not uniformly distributed in the signal period, the sampling time intervals are not completely consistent, and a synchronization error exists, which increases the asynchronous sampling error of the system, and the subsequent analysis of the power data requires uniform distribution of the sampling points, thereby limiting the application of the sampling points in high-precision measurement.
Asynchronous sampling is to assume that the power grid frequency is a certain fixed value, and the timing value of a timer is determined according to the certain fixed value and the number of sampling points in each cycle, so as to realize synchronization. Because the asynchronous sampling is simple to realize and the hardware requirement is low, the method is widely applied to microcomputer protection or measurement with low precision requirement. When the frequency of the power grid does not accord with the certain value or changes, the synchronous error of asynchronous sampling is quite large, so that the method is not suitable for occasions with higher precision requirements. But when the power grid operation fails, the sampling speed is faster than synchronous sampling.
Disclosure of Invention
The invention provides a threshold-based synchronous and asynchronous alternating current mixed sampling method, which aims to solve the technical defect of the conventional acquisition mode that when a power system fails, the frequency fluctuation of a power grid is large, synchronous sampling is used for acquisition, the sampling frequency of the next sampling period is determined by calculating the previous sampling period, so that a processor processes data slowly, and the asynchronous sampling frequency is a fixed value and does not need pre-calculation.
The technical solution of the invention is as follows:
the synchronous and asynchronous alternating current mixed sampling method based on the threshold comprises the following steps:
step 1: determining frequency threshold for switching two sampling modes
Step 1.1: collecting real-time data of the power, wherein the data are known as follows:
[(t1,y1)、(t2,y2)、……、(ti,yi)、……(tn,yn)]and the frequency corresponding to the above-mentioned acquisition point is (f)1,f2,……fi……fn) Wherein t isi(i-1 to n) are time points acquired in time series, yi(i is 1 to n) is the amplitude of the acquired data;
step 1.2: verifying frequency variation point
Step 1.2.1: setting a frequency thresholdf N50; according to the GB/T15945 Standard of allowable deviation of frequency of electric energy quality electric power system: the frequency of the power grid in China is normally 50 +/-0.2 HZ;
step 1.2.2: after the power system breaks down in operation, searching a frequency change point:
step 1.2.3: after the power system recovers normal operation, searching a frequency change point:
step 2: determining a sampling pattern
Step 2.1: from step 1.2.2.1 to step 1.2.2.2, t is knowniThe frequency crosses the threshold, so at tiThe former time acquisition mode is a synchronous sampling method, at tiThe later time acquisition mode is an asynchronous sampling method;
step 2.2: from step 1.2.3.1 to step 1.2.3.2, t is knownpWithin a frequency regression threshold, so at tpThe former time acquisition mode is an asynchronous sampling method, at tpThe later time acquisition mode is a synchronous sampling method.
Further, after the power system fails in operation in step 1.2.2, the process of searching for a frequency change point is as follows:
suppose a frequency transition point (t)i,yi) I.e. (1 to n), known from step 1.1 (t)i-2,yi-2)、(ti-1,yi-1)、(ti+1,yi+1)、(ti+2,yi+2);
Step 1.2.2.1: and (3) judging the frequency change point by using a formula (1) and a formula (2):
whereinThe frequency interval acquired at the moment before the frequency change,a frequency interval acquired at a moment after the frequency change; wherein f isNAt power frequency, fi-1A point before the frequency change point, fi+1A point after the frequency change point;
step 1.2.2.2: determining whether the frequency variation point is correct;
whereinThe frequency difference values collected at the two moments before the frequency change,the frequency difference value is acquired at two moments after the frequency changes; f. ofi-2The second acquisition point before the frequency variation point, fi+2A second acquisition point after the frequency transition point;
if it isThen explain tiThe fault is not an abnormal point, but a normal frequency change point in the fault.
Further, step 1.2.3: after the power system recovers normal operation, searching a frequency change point:
suppose a frequency transition point (t)p,yp) P.epsilon. (1. about.n), known from step 1.1 (t)p-2,yp-2)、(tp-1,yp-1)、(tp+1,yp+1)、(tp+2,yp+2);
Step 1.2.3.1: judging a frequency change point; judging by using the formula (1) and the formula (2):
whereinFor the frequency interpolation acquired at the moment before the frequency variation,interpolating the frequency acquired at a moment after the frequency changes; f. ofp-11 acquisition point before the frequency variation point, fp+11 acquisition point behind the frequency change point;
step 1.2.3.2: determining whether the frequency variation point is correct;
if it isThen explain tpIs not an abnormal point but a normal frequency variation point, wherein fp-22 acquisition points before the frequency variation point, fP+22 acquisition points after the frequency variation point.
According to the technical scheme, the invention has the beneficial effects that: the invention provides a power data acquisition method, which is characterized in that when a power system has a fault, the frequency change is large, and after formula judgment, the acquisition mode is determined to be switched from synchronous acquisition to asynchronous acquisition. When the power system recovers to normal operation, the frequency returns to the normal threshold value, and after formula judgment, the acquisition mode is determined to be switched from asynchronous acquisition to synchronous acquisition. Therefore, the accuracy of data acquisition when the power system fails in operation is improved, and a more reliable basis is provided for subsequent data processing.
Drawings
Fig. 1 is a flowchart of a method conversion of an ac hybrid sampling technique according to an embodiment of the present invention;
fig. 2 is a current collection diagram of a power grid during operation short-circuit fault according to an embodiment of the present invention;
fig. 3 is a current collection diagram of the power grid during operation low-frequency oscillation fault according to the embodiment of the present invention;
fig. 4 is a current collection diagram of the power grid during operation of a high-frequency oscillation fault according to the embodiment of the present invention;
FIG. 5 is a frequency variation graph of a steady-state to transient-state process of the grid operation according to an embodiment of the present invention;
fig. 6 is a frequency variation graph of the transient-state to steady-state process of the power grid operation according to the embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The invention takes the collected data of the power grid operation as an example, and switches the sampling mode when the power grid frequency fluctuates by using the alternating current synchronous sampling and asynchronous sampling method, as shown in figure 1.
Step 1: and determining a frequency threshold method for switching two sampling modes.
Step 1.1: as shown in fig. 4, the synchronous sampling device detects the occurrence of a fluctuation in frequency at point C. Transition from steady state to transient state, transition from transient state to steady state at point H. 2 points in front of the frequency variation point are selected and analyzed with 2 points in the back, as shown in fig. 5 and 6, and specific detection values are shown in tables 1 and 2.
Table 1: steady state-transient state data
Sampling point | Sampling time | Amplitude value | Frequency of |
A | 0.022222 | 15.32089 | 49.9HZ |
B | 0.022278 | 15.09419 | 49.8HZ |
C | 0.022333 | 14.8629 | 50.1HZ |
D | 0.022389 | 13.97095 | 53.1HZ |
E | 0.022444 | 12.78903 | 52.4HZ |
Table 2: transient-steady state data
Step 1.2: and verifying the frequency change point.
Step 1.2.1: setting a frequency thresholdAccording to the GB/T15945 Standard of allowable deviation of frequency of electric energy quality electric power system: the frequency of the power grid in China is normally 50 +/-0.2 HZ, and the frequency threshold value of the embodiment
Step 1.2.2: and searching a frequency change point after the power system fails in operation. From step 1.1, it is known that the frequency change point is point C through sampling analysis by a sampling system.
Step 1.2.2.1: and judging a frequency change point. The point data according to B, D is determined by using the formulas (1) and (2):
0.2=|49.8-50|
3.1=|53.1-50|
since 0.2 ≦ 0.2, 3.1 > 0.2, indicating that this point frequency crossed the threshold, point C should be the frequency crossing point.
Step 1.2.2.2: whether the frequency variation point is correct or not is determined, and the judgment is performed according to A, E point data by using formulas (3), (4) and (5).
0.1=|49.9-50|
2.4=|52.4-50|
Because 0.1 is less than or equal to 0.2 and 2.4 is more than 0.2, t is indicatediThe fault is not an abnormal point, but a normal frequency change point in the fault.
Step 1.2.3: and after the power system recovers to normal operation, searching a frequency change point. From step 1.1, it is known that the frequency change point is the H point through sampling analysis by the sampling system.
Step 1.2.3.1: and judging a frequency change point. Judging by using the formulas (1) and (2):
0.8=|49.2-50|
0=|50-50|
since 0.8 ≧ 0.2, 0 < 0.2, this indicates that the H-point frequency has not crossed the threshold.
Step 1.2.3.2: it is determined whether the frequency change point is correct.
1.5=|48.5-50|
0.1=|50.1-50|
Since 1.5 is more than or equal to 0.2 and 0.1 is less than 0.2, t is shownpThe abnormal point is not the abnormal point, but the normal frequency variation point.
Step 2: determining a sampling pattern
Step 2.1: from step 1.2.2.1 to step 1.2.2.2, it can be known that the frequency at C crosses the threshold, so the time acquisition mode before 0.022333s is a synchronous sampling method, and the time acquisition mode after 0.022333s is an asynchronous sampling method.
Step 2.2: from step 1.2.3.1 to step 1.2.3.2, it can be known that the frequency at H is within the regression threshold, so the time acquisition mode before 0.044056s is asynchronous sampling method, and the time acquisition mode after 0.044056s is synchronous sampling method.
The above description is only exemplary of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (1)
1. The synchronous and asynchronous alternating current mixed sampling method based on the threshold value is characterized by comprising the following steps of:
step 1: determining frequency threshold for switching two sampling modes
Step 1.1: the collected real-time data of the electric power is known as follows:
[(t1,y1)、(t2,y2)、……、(ti,yi)、……(tn,yn)]and the frequency corresponding to the above-mentioned acquisition point is (f)1,f2,……fi……fn) Wherein t isi(i-1 to n) are time points acquired in time series, yi(i is 1 to n) is the amplitude of the acquired data;
step 1.2: verifying frequency variation point
Step 1.2.1: setting a frequency thresholdfN50; according to the GB/T15945 Standard of allowable deviation of frequency of electric energy quality electric power system: the frequency of the power grid in China is normally 50 +/-0.2 HZ;
step 1.2.2: after the power system breaks down in operation, searching a frequency change point:
suppose a frequency transition point (t)i,yi) I.e. (1 to n), known from step 1.1 (t)i-2,yi-2)、(ti-1,yi-1)、(ti+1,yi+1)、(ti+2,yi+2);
Step 1.2.2.1, judging the frequency change point, and judging by using a formula (1) and a formula (2):
whereinThe frequency interval acquired at the moment before the frequency change,a frequency interval acquired at a moment after the frequency change; wherein f isNAt power frequency, fi-1A point before the frequency change point, fi+1A point after the frequency change point;
step 1.2.2.2: determining whether the frequency variation point is correct;
whereinThe frequency difference values collected at the two moments before the frequency change,the frequency difference value is acquired at two moments after the frequency changes; f. ofi-2The second acquisition point before the frequency variation point, fi+2A second acquisition point after the frequency transition point;
if it isThen explain tiThe fault is not an abnormal point and is a normal frequency change point in fault;
step 1.2.3: after the power system recovers normal operation, searching a frequency change point:
suppose a frequency transition point (t)p,yp) P.epsilon. (1. about.n), known from step 1.1 (t)p-2,yp-2)、(tp-1,yp-1)、(tp+1,yp+1)、(tp+2,yp+2);
Step 1.2.3.1, judging a frequency change point; judging by using the formula (1) and the formula (2):
whereinFor the frequency interpolation acquired at the moment before the frequency variation,interpolating the frequency acquired at a moment after the frequency changes; f. ofp-11 acquisition point before the frequency variation point, fp+11 acquisition point behind the frequency change point;
step 1.2.3.2: determining whether the frequency variation point is correct;
if it isThen explain tpIs not an abnormal point but a normal frequency variation point, wherein fp-22 acquisition points before the frequency variation point, fP+22 acquisition points behind the frequency variation point;
step 2: determining a sampling pattern
Step 2.1: from step 1.2.2.1 to step 1.2.2.2, t is knowniThe frequency crosses the threshold, so at tiThe former time acquisition mode is a synchronous sampling method, at tiThe later time acquisition mode is an asynchronous sampling method;
step 2.2: from step 1.2.3.1 to step 1.2.3.2, t is knownpWithin a frequency regression threshold, so at tpThe former time acquisition mode is an asynchronous sampling method, at tpThe later time acquisition mode is a synchronous sampling method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911208864.1A CN110888020B (en) | 2019-11-30 | 2019-11-30 | Synchronous and asynchronous alternating current mixed sampling method based on threshold value |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911208864.1A CN110888020B (en) | 2019-11-30 | 2019-11-30 | Synchronous and asynchronous alternating current mixed sampling method based on threshold value |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110888020A CN110888020A (en) | 2020-03-17 |
CN110888020B true CN110888020B (en) | 2022-03-01 |
Family
ID=69749696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911208864.1A Active CN110888020B (en) | 2019-11-30 | 2019-11-30 | Synchronous and asynchronous alternating current mixed sampling method based on threshold value |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110888020B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69016165D1 (en) * | 1989-10-30 | 1995-03-02 | Inst Francais Du Petrole | Transmission method and arrangement for high data rates according to the asynchronous mode principle. |
US6111878A (en) * | 1997-11-04 | 2000-08-29 | Alcatel | Low jitter timing recovery technique and device for asynchronous transfer mode (ATM) constant bit rate (CBR) payloads |
JP2002237751A (en) * | 2001-02-13 | 2002-08-23 | Hioki Ee Corp | Sampling device and sampling method and ac impedance measuring device and its method |
CN101075862A (en) * | 2007-06-22 | 2007-11-21 | 清华大学 | Method for synchronizing time based on lock phase ring in wireless sensor network |
CN102854439A (en) * | 2012-09-29 | 2013-01-02 | 南京南瑞继保电气有限公司 | Method for coordinating comprehensive fault information analysis of power grid by adopting fault information group technology |
CN103914052A (en) * | 2014-04-18 | 2014-07-09 | 华中科技大学 | Multi-board data synchronous sampling system |
CN104483563A (en) * | 2014-11-27 | 2015-04-01 | 广东电网有限责任公司电力科学研究院 | Method and system for synchronous sampling of power signals |
CN105353187A (en) * | 2015-11-16 | 2016-02-24 | 杭州佳和电气股份有限公司 | Real-time waveform reconstruction method based on three-point asynchronous sampling |
-
2019
- 2019-11-30 CN CN201911208864.1A patent/CN110888020B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69016165D1 (en) * | 1989-10-30 | 1995-03-02 | Inst Francais Du Petrole | Transmission method and arrangement for high data rates according to the asynchronous mode principle. |
US6111878A (en) * | 1997-11-04 | 2000-08-29 | Alcatel | Low jitter timing recovery technique and device for asynchronous transfer mode (ATM) constant bit rate (CBR) payloads |
JP2002237751A (en) * | 2001-02-13 | 2002-08-23 | Hioki Ee Corp | Sampling device and sampling method and ac impedance measuring device and its method |
CN101075862A (en) * | 2007-06-22 | 2007-11-21 | 清华大学 | Method for synchronizing time based on lock phase ring in wireless sensor network |
CN102854439A (en) * | 2012-09-29 | 2013-01-02 | 南京南瑞继保电气有限公司 | Method for coordinating comprehensive fault information analysis of power grid by adopting fault information group technology |
CN103914052A (en) * | 2014-04-18 | 2014-07-09 | 华中科技大学 | Multi-board data synchronous sampling system |
CN104483563A (en) * | 2014-11-27 | 2015-04-01 | 广东电网有限责任公司电力科学研究院 | Method and system for synchronous sampling of power signals |
CN105353187A (en) * | 2015-11-16 | 2016-02-24 | 杭州佳和电气股份有限公司 | Real-time waveform reconstruction method based on three-point asynchronous sampling |
Non-Patent Citations (1)
Title |
---|
基于插值同步预处理的Hilbert无功功率测量;孙曙光等;《电力系统保护与控制》;20160901;第44卷(第17期);第97-103页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110888020A (en) | 2020-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101363896B (en) | High precision voltage transient event detection and wave-recording method | |
CN109946513B (en) | Cross-interval digital metering method, device and system based on network sampling absolute delay compensation | |
CN109284933B (en) | Electronic transformer state evaluation system and method based on mathematical statistics | |
CN103412200A (en) | Three-phase alternating current phase sequence detection method and device | |
CN111413661B (en) | Detection method for instrument constant test by adopting standard meter method | |
CN108508399B (en) | Voltage transient test method based on electronic voltage transformer transmission process simulation | |
CN113075500A (en) | Similarity single-phase earth fault positioning method based on sliding window and application | |
CN111130074B (en) | Direct-current transmission line ultra-high-speed protection system and method based on voltage first extreme value time | |
CN204730958U (en) | NTC temperature sensor thermal time constant proving installation | |
CN110888020B (en) | Synchronous and asynchronous alternating current mixed sampling method based on threshold value | |
CN116955895B (en) | Transformer operation abnormity monitoring method and system | |
CN103760514B (en) | The method and device that a kind of electric energy meter quickly detects | |
CN105319434B (en) | A kind of method and device of electric energy meter measurement electric current | |
CN112364941A (en) | New energy station frequency characteristic detection method, device and system | |
CN103344830A (en) | New closing phase angle detection method | |
CN106646106A (en) | Power grid fault detection method based on change point detection technology | |
CN109039208A (en) | A kind of switched reluctance machines incremental inductance characteristic online test method | |
CN110868112B (en) | Method and device for detecting initial position of motor rotor based on K-approach optimization estimation | |
CN113203903B (en) | Method for detecting and positioning cause of DC side fault of photovoltaic inverter | |
CN112837180B (en) | SCADA-PMU data fusion method for power system | |
CN108957174A (en) | A kind of voltage dip detection device and method | |
CN110661261B (en) | PMU data processing method and device for low-frequency oscillation online analysis | |
CN103630744A (en) | PMU phase angle detection method and system | |
CN108983045B (en) | Passive island detection method | |
CN109239477B (en) | The detection method and detection system of touch key-press |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |