CN104569581A - Multi-level set and single-cycle estimation method of power grid frequency measuring - Google Patents
Multi-level set and single-cycle estimation method of power grid frequency measuring Download PDFInfo
- Publication number
- CN104569581A CN104569581A CN201510047851.6A CN201510047851A CN104569581A CN 104569581 A CN104569581 A CN 104569581A CN 201510047851 A CN201510047851 A CN 201510047851A CN 104569581 A CN104569581 A CN 104569581A
- Authority
- CN
- China
- Prior art keywords
- signal
- threshold value
- value
- fundamental frequency
- sinusoidal
- 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.)
- Granted
Links
Landscapes
- Measuring Frequencies, Analyzing Spectra (AREA)
Abstract
The invention provides a multi-level set and single-cycle estimation method of power grid frequency measuring. The method includes: performing low-pass filter on an input signal, and then sampling the signal; setting more than two thresholds horizontally intersecting with a sinusoidal periodic signal, determining the adjacent intersection points, whose slope is identical with the slope of two tangent lines of the sinusoid, of each threshold and signal sampling points close to the two intersection points, directly calculating the fundamental frequency of the threshold if the two intersection points of the threshold coincide with the signal sampling points, or else respectively substituting the signal sampling points close to the intersection points into a Lagrange interpolation formula, and calculating the fundamental frequency estimation value corresponding to the threshold; determining the weight of the multi-level set fundamental frequency estimation value acquired by each threshold according to the absolute value of the tangent line slope of the intersection points of each threshold and the sinusoidal periodic signal, and using a weighted average method to obtain the final fundamental frequency estimation value. The method has the advantages that multi-level set and single-cycle estimation frequency is achieved by multiple thresholds, and the method is good in instantaneity and high in precision.
Description
Technical field
The invention belongs to power domain, be specifically related to a kind of multilevel collection monocycle method of estimation of grid frequency measurement.
Background technology
Along with improving constantly of national economy and people's living standard, people grow with each passing day to the demand of electric energy and the requirement of the quality of power supply.Wherein, the frequency of electrical network is a very important power quality index, and now when measuring fundamental frequency, frequent employing integer-period sampled some counting method, this method is when the sampling period is less, its the non-constant of precision, when the sampling period is long time, its real-time is very poor, and this method is when survey frequency, filtering process is not carried out to high frequency harmonic signals, when harmonic wave interferes with to a certain degree, can, on the raw certain impact of fixed output quota really of whole primitive period, measured frequency finally can be caused to have very large error.
Summary of the invention
The object of the invention is the deficiency in order to overcome above-mentioned power grid frequency measurement method, propose a kind of multilevel collection monocycle method of estimation of grid frequency measurement, the method effectively can solve the existing frequency measurement method problem that precision is poor and real-time is poor when measuring mains frequency.
The present invention proposes a kind of multilevel collection monocycle method of estimation of grid frequency measurement, described method comprises the steps:
Step one: carry out low-pass filtering treatment to input signal low-pass filter, eliminates the interference of high-frequency harmonic;
Step 2: select suitable sample frequency f
swith sampling length N, equal interval sampling is carried out to signal, sample frequency f
s2 times of the frequency of most higher harmonic component contained by signal should be not less than, obtain signal discrete sample sequence x (t
n), n=0,1,2 ..., N-1;
Step 3: find out discrete sampling sequence x (t
n) in maximal value MAX and minimum value MIN, then m threshold value Y be set
i, m be more than or equal to 2 integer, i=1,2 ..., m;
Step 4: determine adjoining nodes that each threshold value is identical with sinusoidal 2 tangent slopes and close on the signal sampling point of these 2 intersection points, the time interval of the adjoining nodes that 2 tangent slopes are identical is 1 primitive period of signal; If 2 of certain threshold value intersection points all overlap with signal sampling point, then directly calculate fundamental frequency estimated value f
i; If 2 of certain threshold value intersection points do not overlap with signal sampling point, then the signal sampling point of this threshold value and the above-mentioned near intersections of sinusoidal signal is substituted into Lagrange interpolation formula, calculate this threshold value Y
icorresponding fundamental frequency estimated value; After all threshold calculations, m fundamental frequency estimated value of acquisition is multilevel collection fundamental frequency estimated value f
i;
Step 5: to obtaining multilevel collection fundamental frequency estimated value f in step 4
ibe weighted average, calculate final fundamental frequency estimated value f, wherein weights q
iaccording to the sinusoidal curve tangent slope absolute value of each threshold value and sinusoidal intersection point | K
i| determine, slope absolute value is larger, and weights are less, final fundamental frequency estimated value f=q
1f
1+ q
2f
2+ ... + q
mf
m.
Described method, in step 3, described threshold value Y
ithe maximal value in discrete sampling sequence x (n) should be less than and be greater than the minimum value in discrete sampling sequence x (n), and for ensureing that set threshold value is in rational scope, eliminate the interference that other uncertain factor causes, make it meet: 0.9MIN+0.1MAX<Y
i<0.9MAX+0.1MIN.
Described method, in step 4, if 2 of certain threshold value intersection points do not overlap with signal sampling point, then substitutes into Lagrange interpolation formula by the signal sampling point of this threshold value and the above-mentioned near intersections of sinusoidal signal, calculates this threshold value Y
icorresponding fundamental frequency estimated value is simplified operation, the sampled signal discrete data [t, x (t)] of this threshold value and sinusoidal signal near intersections can be substituted into 4 Lagrange interpolation formulas, through calculating threshold value Y
icorresponding fundamental frequency estimated value f
i.
Described method, in step 5, weights q
iaccording to the sinusoidal curve tangent slope absolute value of each threshold value and sinusoidal intersection point | K
i| determine, f
icorresponding weights are:
Beneficial effect: the present invention adopts multilevel collection to realize grid frequency measurement, overcomes in the past that single threshold method is easily by the defect of noise, and the present invention can realize frequency measurement within the monocycle, has the advantages that precision is high, real-time is good.
Accompanying drawing explanation
Fig. 1 is the theory diagram for the treatment of scheme of the present invention;
Fig. 2 is single threshold Frequency Estimation schematic diagram of the present invention;
Fig. 3 is the Frequency Estimation schematic diagram that intersection point of the present invention overlaps with sampled point;
Fig. 4 is the Frequency Estimation schematic diagram that intersection point of the present invention does not overlap with sampled point;
Fig. 5 is multi thresholds Frequency Estimation schematic diagram of the present invention.
Embodiment
The present invention proposes a kind of multilevel collection monocycle method of estimation of grid frequency measurement.The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
1. the signal of the embodiment of the present invention to input first carries out low-pass filtering treatment with low-pass filter, then with sample frequency f
s=6400Hz carries out periodic sampling to signal, finds out maximal value MAX and minimum value MIN;
The model of first-harmonic sinusoidal periodic signal is:
x(t)=A sin(2πft+θ)+B (1)
In formula, A represents the amplitude of sinusoidal periodic signal, and f represents the frequency of sinusoidal periodic signal, and θ represents the initial phase of sinusoidal periodic signal, and B represents the DC component of sinusoidal periodic signal.As shown in Figure 2, this sinusoidal periodic signal x (t) intersects with certain threshold value b and the time interval of identical 2 the adjacent intersection points of sinusoidal curve tangent slope is 1 primitive period of signal.Therefore, by these 2 intersection points, a fundamental frequency estimated value of signal just can be obtained.
2. with sample frequency f
scarry out equidistant discrete sampling to the cycle simulating signal shown in formula (1), generally, in real process, threshold value b is generally difficult to overlap with signal sampling point with the intersection point of sinusoidal signal, therefore in two kinds of situation:
1. as shown in Figure 3, the above-mentioned intersection point of threshold value b overlaps with signal sampling point, directly should calculate the corresponding fundamental frequency estimated value of this threshold value:
F in formula
gthe fundamental frequency estimated value corresponding to threshold value b;
2. as shown in Figure 4, the intersection point of threshold value b does not overlap with signal sampling point, obtains intersection point (t by sampling
b, the sampled point [t b)
k-2, x (t
k-2)], [t
k-1, x (t
k-1)], [t
k, x (t
k)], [t
k+1, x (t
k+1)] and [t
k+2, x (t
k+2)].Adopt Lagrange method of interpolation, 4 interpolation polynomial L can be obtained
4(t) be:
By (t
b, b) substitute into (3) and obtain:
L
4(t
b)=b (4)
T is solved by formula (4)
b, in like manner can obtain t '
b, have:
F in formula
gthe fundamental frequency estimated value corresponding to threshold value b.So far, the estimation to fundamental frequency value corresponding to threshold value b is completed.
3. for sake of convenience, only the situation that 5 threshold values are crossing with sinusoidal periodic signal is explained below:
5 threshold value Ys crossing with sinusoidal cycles sampled signal are set
i, and make it in the reasonable scope, there is 0.9MIN+0.1MAX<Y
i<0.9MAX+0.1MIN, wherein i=1,2,3,4,5.By the fundamental frequency estimated value that above-mentioned principle can be corresponding with each threshold value, can with threshold value Y
1corresponding fundamental frequency estimated value is f
1; With threshold value Y
2corresponding fundamental frequency estimated value is f
2; With threshold value Y
3corresponding fundamental frequency estimated value is f
3; With threshold value Y
4corresponding fundamental frequency estimated value is f
4; With threshold value Y
5corresponding fundamental frequency estimated value is f
5.According to each threshold value Y
iwith sinusoidal curve place, sinusoidal cycles sampled signal intersection point place tangent slope absolute value | K
i| size, wherein K
ivalue by Y
iwith 4 interpolation polynomial L of the above-mentioned intersection point of sinusoidal curve
4t the derivative of () is obtained, that is:
To the fundamental frequency estimated value f corresponding to each threshold value
iweighting, absolute value is larger, and weights are less, f
icorresponding weights are
i=1,2,3,4,5; Recycling calculated with weighted average method obtains final frequency estimation:
In formula, f is final fundamental frequency estimated value.
So far, the multilevel collection monocycle completing grid frequency measurement is estimated.The method calculates simple, and the adjoining nodes identical by the sinusoidal tangent slope of threshold value and sampled signal just can record electrical network fundamental frequency, and have employed the method for 4 Lagrange method of interpolation and weighting, has extraordinary real-time and accuracy.
Claims (4)
1. a multilevel collection monocycle method of estimation for grid frequency measurement, it is characterized in that, described method comprises the steps:
Step one: carry out low-pass filtering treatment to input signal low-pass filter, eliminates the interference of high-frequency harmonic;
Step 2: select suitable sample frequency f
swith sampling length N, equal interval sampling is carried out to signal, sample frequency f
s2 times of the frequency of most higher harmonic component contained by signal should be not less than, obtain signal discrete sample sequence x (t
n), n=0,1,2 ..., N-1;
Step 3: find out discrete sampling sequence x (t
n) in maximal value MAX and minimum value MIN, then m threshold value Y be set
i, m be more than or equal to 2 integer, i=1,2 ..., m;
Step 4: determine adjoining nodes that each threshold value is identical with sinusoidal 2 tangent slopes and close on the signal sampling point of these 2 intersection points, the time interval of the adjoining nodes that 2 tangent slopes are identical is 1 primitive period of signal; If 2 of certain threshold value intersection points all overlap with signal sampling point, then directly calculate fundamental frequency estimated value f
i; If 2 of certain threshold value intersection points do not overlap with signal sampling point, then the signal sampling point of this threshold value and the above-mentioned near intersections of sinusoidal signal is substituted into Lagrange interpolation formula, calculate this threshold value Y
icorresponding fundamental frequency estimated value; After all threshold calculations, m fundamental frequency estimated value of acquisition is multilevel collection fundamental frequency estimated value f
i;
Step 5: to obtaining multilevel collection fundamental frequency estimated value f in step 4
ibe weighted average, calculate final fundamental frequency estimated value f, wherein weights q
iaccording to the sinusoidal curve tangent slope absolute value of each threshold value and sinusoidal intersection point | K
i| determine, slope absolute value is larger, and weights are less, final fundamental frequency estimated value f=q
1f
1+ q
2f
2+ ... + q
mf
m.
2. method according to claim 1, is characterized in that, in step 3, and described threshold value Y
ithe maximal value in discrete sampling sequence x (n) should be less than and be greater than the minimum value in discrete sampling sequence x (n), and for ensureing that set threshold value is in rational scope, eliminate the interference that other uncertain factor causes, make it meet: 0.9MIN+0.1MAX<Y
i<0.9MAX+0.1MIN.
3. method according to claim 1, it is characterized in that, in step 4, if 2 of certain threshold value intersection points do not overlap with signal sampling point, then the signal sampling point of this threshold value and the above-mentioned near intersections of sinusoidal signal is substituted into Lagrange interpolation formula, calculate this threshold value Y
icorresponding fundamental frequency estimated value is simplified operation, the sampled signal discrete data [t, x (t)] of this threshold value and sinusoidal signal near intersections can be substituted into 4 Lagrange interpolation formulas, through calculating threshold value Y
icorresponding fundamental frequency estimated value f
i.
4. method according to claim 1, is characterized in that, in step 5, and weights q
iaccording to the sinusoidal curve tangent slope absolute value of each threshold value and sinusoidal intersection point | K
i| determine, f
icorresponding weights are:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510047851.6A CN104569581B (en) | 2015-01-30 | 2015-01-30 | Multi-level set and single-cycle estimation method of power grid frequency measuring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510047851.6A CN104569581B (en) | 2015-01-30 | 2015-01-30 | Multi-level set and single-cycle estimation method of power grid frequency measuring |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104569581A true CN104569581A (en) | 2015-04-29 |
CN104569581B CN104569581B (en) | 2017-05-03 |
Family
ID=53086118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510047851.6A Active CN104569581B (en) | 2015-01-30 | 2015-01-30 | Multi-level set and single-cycle estimation method of power grid frequency measuring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104569581B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183998A (en) * | 2015-09-15 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Periodic signal simulation method and system |
CN105403767A (en) * | 2015-10-21 | 2016-03-16 | 广东美的制冷设备有限公司 | Voltage frequency detection method of alternating current power supply input into air conditioner, system and the air conditioner |
CN109633266A (en) * | 2019-02-26 | 2019-04-16 | 重庆新世杰电气股份有限公司 | A kind of frequency measurement method, system, device and computer readable storage medium |
CN112151065A (en) * | 2019-06-28 | 2020-12-29 | 力同科技股份有限公司 | Method, device and equipment for detecting single tone signal frequency and computer storage medium |
CN113075452A (en) * | 2021-03-11 | 2021-07-06 | 国网浙江余姚市供电有限公司 | High-precision rapid frequency detection system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06300793A (en) * | 1993-04-14 | 1994-10-28 | Pioneer Electron Corp | Fundamental frequency detecting method for ac signal |
CN101539596A (en) * | 2008-03-21 | 2009-09-23 | 上海威能电力科技有限公司 | Method for monitoring electric network frequency |
CN102116798A (en) * | 2011-03-07 | 2011-07-06 | 深圳市锐能微科技有限公司 | Power grid frequency measurement method and device |
CN102608415A (en) * | 2012-02-10 | 2012-07-25 | 南京弘毅电气自动化有限公司 | Software frequency tracking algorithm on basis of weighted double fitting |
CN102879639A (en) * | 2012-09-13 | 2013-01-16 | 华中科技大学 | Real-time frequency measuring method in power system |
-
2015
- 2015-01-30 CN CN201510047851.6A patent/CN104569581B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06300793A (en) * | 1993-04-14 | 1994-10-28 | Pioneer Electron Corp | Fundamental frequency detecting method for ac signal |
CN101539596A (en) * | 2008-03-21 | 2009-09-23 | 上海威能电力科技有限公司 | Method for monitoring electric network frequency |
CN102116798A (en) * | 2011-03-07 | 2011-07-06 | 深圳市锐能微科技有限公司 | Power grid frequency measurement method and device |
CN102608415A (en) * | 2012-02-10 | 2012-07-25 | 南京弘毅电气自动化有限公司 | Software frequency tracking algorithm on basis of weighted double fitting |
CN102879639A (en) * | 2012-09-13 | 2013-01-16 | 华中科技大学 | Real-time frequency measuring method in power system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183998A (en) * | 2015-09-15 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Periodic signal simulation method and system |
CN105183998B (en) * | 2015-09-15 | 2019-07-26 | 浪潮(北京)电子信息产业有限公司 | The emulation mode and system of periodic signal in a kind of chip circuit |
CN105403767A (en) * | 2015-10-21 | 2016-03-16 | 广东美的制冷设备有限公司 | Voltage frequency detection method of alternating current power supply input into air conditioner, system and the air conditioner |
CN109633266A (en) * | 2019-02-26 | 2019-04-16 | 重庆新世杰电气股份有限公司 | A kind of frequency measurement method, system, device and computer readable storage medium |
CN112151065A (en) * | 2019-06-28 | 2020-12-29 | 力同科技股份有限公司 | Method, device and equipment for detecting single tone signal frequency and computer storage medium |
CN112151065B (en) * | 2019-06-28 | 2024-03-15 | 力同科技股份有限公司 | Method, device, equipment and computer storage medium for detecting single-tone signal frequency |
CN113075452A (en) * | 2021-03-11 | 2021-07-06 | 国网浙江余姚市供电有限公司 | High-precision rapid frequency detection system and method |
Also Published As
Publication number | Publication date |
---|---|
CN104569581B (en) | 2017-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104569581A (en) | Multi-level set and single-cycle estimation method of power grid frequency measuring | |
CN103257271B (en) | A kind of micro-capacitance sensor harmonic wave based on STM32F107VCT6 and m-Acetyl chlorophosphonazo pick-up unit and detection method | |
CN101813725B (en) | Method for measuring phase difference of low-frequency signals | |
CN203287435U (en) | A micro electrical network harmonic wave and inter-harmonic wave test apparatus based on an STM32F107VCT6 | |
CN106771567B (en) | Dynamic harmonic electric energy metering method based on multi-resolution short-time Fourier transform | |
CN108257044A (en) | A kind of non-intrusion type load decomposition method based on steady-state current model | |
CN204241558U (en) | A kind of voltage signal cycles harvester | |
CN103575984A (en) | Harmonic analysis method based on Kaiser window double-spectral-line interpolation FFT | |
CN105606900B (en) | A kind of single-phase harmonic impedance measurement method based on square-wave signal | |
CN103983849B (en) | A kind of Electric Power Harmonic Analysis method of real-time high-precision | |
CN104375007A (en) | Soil resistivity measurement method and device based on phase identification | |
WO2023071672A1 (en) | Rapid and precise power grid information sensing method based on nonlinear robust estimation | |
CN102253281A (en) | Method for measuring power grid frequency by resisting harmonic interference and automatically changing phase based on software | |
CN103454490A (en) | Intelligent metering system and intelligent metering method on basis of Blackman-harris window spectrum correction | |
CN103383412A (en) | Adaptive software and hardware frequency tracking and sampling method | |
CN204287320U (en) | A kind of current signal periodically harvester | |
CN103105529A (en) | Harmonic wave electric energy measuring system based on parameter analysis and control method thereof | |
CN103412171A (en) | Extreme learning machine-based power grid harmonic voltage signal detection method | |
CN105486921A (en) | Kaiser third-order mutual convolution window triple-spectrum-line interpolation harmonic wave and inter-harmonic wave detection method | |
CN107390022A (en) | Electric energy gauging method based on discrete spectrum correction | |
CN103995180B (en) | Power system frequency estimation method taking inequality constraints into consideration | |
CN204945273U (en) | A kind of power quality data harvester of self-adaptation mains frequency | |
CN102401856B (en) | Real-time frequency measuring method for power frequency voltage signal based on fuzzy clustering method | |
CN107167658B (en) | A kind of jamproof electric system fundamental frequency of high-precision and Method for Phase Difference Measurement | |
CN104808060B (en) | A kind of digital measuring method of electrical signal phase difference |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |