CN105891599A - Power frequency tracking method based on improved DODF-WSPD - Google Patents
Power frequency tracking method based on improved DODF-WSPD Download PDFInfo
- Publication number
- CN105891599A CN105891599A CN201610194672.XA CN201610194672A CN105891599A CN 105891599 A CN105891599 A CN 105891599A CN 201610194672 A CN201610194672 A CN 201610194672A CN 105891599 A CN105891599 A CN 105891599A
- Authority
- CN
- China
- Prior art keywords
- signal
- frequency
- filter
- omega
- algorithm
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R23/00—Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- G01R23/02—Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
Abstract
The invention relates to a power frequency tracking method based on improved DODF-WSPD. The method is based on dual orthogonal digital filters, inputs a signal into sine and cosine orthogonal finite impact response digital filters with a phase difference of [pi]/2, subjects the input signal and the coefficients of the two filters to convolution separately to obtain two complex signals, extracts from the two complex signals the phase information of a final output signal, and computes an actual frequency value by using a weighted smoothing phase difference method. The power frequency tracking method has high frequency tracking measurement precision and noise immunity on static and dynamic conditions of a power system, is simple in computation and low in start time lag, and may accurately measures and tracks signal frequency stabilization, abrupt change and periodical change.
Description
Technical field
The present invention relates to power system frequency tracking technique field, a kind of electricity based on the DODF-WSPD improved
Net frequency tracking method.
Background technology
Along with the upgrading of China " 13 " industrial structure and the implementing in full of layout optimization, modern power network is towards intelligence
The continuous Promotion Transformation of energyization and cleaning sustainability direction.The thermoelectricity that a large amount of production capacities fall behind is phased out, and takes and generation
Be the grid integration of a large amount of clean energy resource (such as: photovoltaic, wind-powered electricity generation, water power, nuclear power etc.).And the access of these distributed energies
Also making modern power network become increasingly complex changeable, failure risk highlights day by day.Frequency as the important parameter of electric power signal, it
Size direct reaction electrical network whether be in steady statue.Therefore, the detecting and tracking of signal frequency is to safeguarding electricity net safety stable
Run most important.How going to realize the accurate real-time tracking to mains frequency is the most all study hotspot both domestic and external.
At present, the Measurement Algorithm of power system frequency can be largely classified into Hardware Method and the big class of Software Method two.Hardware Method master
To realize with phaselocked loop, although the burden of processor can be reduced to a certain extent, but increase peripheral circuit and can make hardware
Volume becomes big, and cost is greatly increased, and filter effect is limited, and measurement can be caused bigger error by interference signal.By contrast, soft
Part rule better conforms to the tendency of the day, and not only substantially without outer circuits, and many algorithms itself carry filter function, and this allows for
The robustness of Software Method, real-time and accuracy have obtained sufficient guarantee.In Software Method, commonly used algorithm includes 3 points
Method, least fibre method, method of least square, expansion Kalman filtering method, adaptive notch method, Fourier and improved method thereof, little
Wave analysis and intelligent algorithm etc..These algorithms have different effects in different occasions, to the tracking measurement of mains frequency or
Person estimates to be not quite similar.Such as, line-of-sight course calculates and is simply easily achieved, but anti-interference is poor;Least fibre method, a young waiter in a wineshop or an inn
Multiplication and adaptive notch method cannot ensure output accuracy and response characteristic under strong jamming, but accuracy and robustness have had very
Big raising;And expand Kalman filtering method and wavelet analysis rule and be respectively present that tracking overshoot is big and actual application difficult etc. is asked
Topic;Furthermore currently using the wider Fourier of scope and improved method thereof exactly, such algorithm mainly deficiency is computationally intensive
And the problem such as the cost price that caused the requirement of hardware is high.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of DODF-WSPD (Dual Orthogonal based on improvement
Digital Filters and Weighted Smoothing Phased Difference) mains frequency tracking.
This algorithm can not only be owned by higher tracking accuracy and noise immunity under power system static dynamic condition, and algorithm meter
Calculate simple, and it is little to start time lag, the situation such as, sudden change stable to signal frequency and cyclically-varying can accurately measure tracking.
The present invention uses below scheme to realize: a kind of mains frequency tracking based on the DODF-WSPD improved, the most right
Electric power signal carries out discretization, then signal is passed through the sine and the filter of cosine orthogonal finite impulse response numeral that phase contrast is pi/2
In ripple device, by input signal, coefficient with two filter carries out convolutional calculation respectively, obtains two groups of complex signals.From two groups of complex signals
In extract the phase information of final output signal, utilize weighted smoothing phase-difference method to calculate actual frequency values, therein add
Weight coefficient quotes the weight coefficient in M&M algorithm.For improving the precision of algorithm, once change during algorithm can be calculated
Generation.Finally, choose 4 rank, the Butterworth wave filter of cut-off frequency 15Hz carries out smothing filtering to aircraft pursuit course, to enter one
Step improves algorithm capacity of resisting disturbance.It specifically comprises the following steps that
Step S1: electric power signal x (n) of given discretization:
In formula, fsFor signal sampling frequency, f0For electrical network rated frequency, n is sampling number, and μ is white Gaussian noise interference letter
Number;
Step S2: signal x (n) is each led into sine and cosine orthogonal finite impulse response numeral that phase contrast is pi/2
In wave filter, obtain two groups of complex signals;Wherein, the coefficient of two FIR filter is respectively as follows:
In formula: k=1,2 ... 50*N;N=fs/f0I.e. one periodic sampling is counted;
With above-mentioned two coefficient, input signal is carried out convolutional calculation respectively, and the complex signal that can obtain two orthogonal filters is defeated
Go out to be respectively as follows:
In formula: X1And X2Being the amplitude of two filter output signals, ω is the frequency information corresponding to difference, and θ is one
Individual definite value;
Step S3: assuming that X1≈X2, two groups of complex signals in step S2 are divided by, it is possible to obtain the phase of final output signal
Position information:
Step S4: utilize weighted smoothing phase-difference method, is calculated by L data before intercepting a certain moment, by
Draw close the actual frequency values in this moment in weight coefficient ω, its expression formula is as follows:
Wherein,
In above-mentioned two formulas: x=L+2 ..., 50 × N;L=40 is the data length of intercepting;M=1,2 ..., L;
Step S5: owing to the output amplitude of two filter being assumed to equal in step S3, but physical presence deviation, therefore need
Value of calculation to be utilized iteration again is once come to be corrected it, it is ensured that two amplitudes are equal;Utilize and step S4 calculates
Actual frequency values f in a certain moment, is substituted into following two formulas, calculates the output amplitude of two wave filter, then carries out it
Suitable correction;The amplitude-frequency response of two orthogonal filter outputs is:
Step S6: utilize 4 rank, the frequency curve of final output is entered by the Butterworth wave filter of cut-off frequency 15Hz
Row smothing filtering, in order to improve algorithm capacity of resisting disturbance further.
Compared to prior art, the present invention has a following beneficial effect:
1, under power system static condition and dynamic condition, it is owned by higher frequency-tracing measurement precision and has relatively
Good noise immunity.
2, algorithm calculates simple, and it is little to start time lag, can the situation such as, sudden change stable to signal frequency and cyclically-varying enter
Row accurately measures tracking.
Accompanying drawing explanation
Fig. 1 is the algorithm flow chart of the embodiment of the present invention.
Fig. 2 is that signal does not contains under disturbed condition, and this algorithm follows the tracks of contrast with the signal frequency using the Kay algorithm weights factor
Figure.
Fig. 3 is in the case of signal contains 3,5,7 subharmonic and white Gaussian noise (20dB), and this algorithm adds with using Kay algorithm
The signal frequency tracking error comparison diagram of weight factor.
Fig. 4 is signal containing under harmonic wave and disturbed condition, this algorithm tracking situation to frequency discontinuity.Fig. 5 is that signal exists
Containing under harmonic wave and disturbed condition, this algorithm tracking periodically variable to frequency situation.
Fig. 6 is that signal does not contains under disturbed condition, when this algorithm takes different L-value, and the comparison diagram of algorithm keeps track error.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment the present invention will be further described.
The present embodiment provides a kind of mains frequency tracking based on the DODF-WSPD improved, and first enters electric power signal
Row discretization, then signal is passed through in the sine and the orthogonal limited impulse response digital filter of cosine that phase contrast is pi/2, by defeated
Enter the signal coefficient respectively with two filter and carry out convolutional calculation, obtain two groups of complex signals.Extract from two groups of complex signals
The phase information of whole output signal, utilizes weighted smoothing phase-difference method to calculate actual frequency values, and weight coefficient therein is quoted
Weight coefficient in M&M algorithm.For improving the precision of algorithm, carry out an iteration during algorithm can be calculated.Finally, choose
4 rank, the Butterworth wave filter of cut-off frequency 15Hz carry out smothing filtering to aircraft pursuit course, anti-to improve algorithm further
Interference performance.As it is shown in figure 1, it specifically comprises the following steps that
Step S1: electric power signal x (n) of given discretization:
In formula, fsFor signal sampling frequency, f0For electrical network rated frequency, n is sampling number, and μ is white Gaussian noise interference letter
Number;
Step S2: signal x (n) is each led into sine and cosine orthogonal finite impulse response numeral that phase contrast is pi/2
In wave filter, obtain two groups of complex signals;Wherein, the coefficient of two FIR filter is respectively as follows:
In formula: k=1,2 ... 50*N;N=fs/f0I.e. one periodic sampling is counted;
With above-mentioned two coefficient, input signal is carried out convolutional calculation respectively, and the complex signal that can obtain two orthogonal filters is defeated
Go out to be respectively as follows:
In formula: X1And X2Being the amplitude of two filter output signals, ω is the frequency information corresponding to difference, and θ is one
Individual definite value;
Step S3: assuming that X1≈X2, two groups of complex signals in step S2 are divided by, it is possible to obtain the phase of final output signal
Position information:
Step S4: utilize weighted smoothing phase-difference method, is calculated by L data before intercepting a certain moment, by
Draw close the actual frequency values in this moment in weight coefficient ω, its expression formula is as follows:
Wherein,
In above-mentioned two formulas: x=L+2 ..., 50 × N;L=40 is the data length of intercepting;M=1,2 ..., L;
Step S5: owing to the output amplitude of two filter being assumed to equal in step S3, but physical presence deviation, therefore need
Value of calculation to be utilized iteration again is once come to be corrected it, it is ensured that two amplitudes are equal;Utilize and step S4 calculates
Actual frequency values f in a certain moment, is substituted into following two formulas, calculates the output amplitude of two wave filter, then carries out it
Suitable correction;The amplitude-frequency response of two orthogonal filter outputs is:
Step S6: utilize 4 rank, the frequency curve of final output is entered by the Butterworth wave filter of cut-off frequency 15Hz
Row smothing filtering, to improve algorithm capacity of resisting disturbance further.
In the present embodiment, can obtain under signal is without disturbed condition, this algorithm and the employing Kay algorithm weights factor
Signal frequency follow the tracks of comparison diagram, as shown in Figure 2;In the case of signal is containing 3,5,7 subharmonic and white Gaussian noise (20dB), this
Algorithm and the signal frequency tracking error comparison diagram using the Kay algorithm weights factor, as shown in Figure 3.When signal containing harmonic wave and
Under disturbed condition, this algorithm is to the tracking situation of frequency discontinuity as shown in Figure 4.When signal is containing under harmonic wave and disturbed condition, this
Algorithm tracking periodically variable to frequency situation is as shown in Figure 5.Under signal is without disturbed condition, this algorithm takes different L
During value, the comparison diagram of algorithm keeps track error is as shown in Figure 6.
The foregoing is only presently preferred embodiments of the present invention, all impartial changes done according to scope of the present invention patent with
Modify, all should belong to the covering scope of the present invention.
Claims (1)
1. one kind based on the mains frequency tracking of DODF-WSPD improved, it is characterised in that: specifically include following steps:
Step S1: electric power signal x (n) of given discretization:
In formula, fsFor signal sampling frequency, f0For electrical network rated frequency, n is sampling number, and μ is that white Gaussian noise disturbs signal;
Step S2: signal x (n) is each led into sine and cosine orthogonal finite impulse response digital filtering that phase contrast is pi/2
In device, obtain two groups of complex signals;Wherein, the coefficient of two FIR filter is respectively as follows:
In formula: k=1,2 ... 50*N;N=fs/f0I.e. one periodic sampling is counted;
Input signal is carried out convolutional calculation with above-mentioned two coefficient respectively, the complex signal output point of two orthogonal filters can be obtained
It is not:
In formula: X1And X2Being the amplitude of two filter output signals, ω is the frequency information corresponding to difference, and θ is one to be determined
Value;
Step S3: assuming that X1≈X2, two groups of complex signals in step S2 are divided by, it is possible to obtain the phase place letter of final output signal
Breath:
Step S4: utilize weighted smoothing phase-difference method, is calculated, by means of adding by L data before intercepting a certain moment
Weight coefficient ω draws close the actual frequency values in this moment, and its expression formula is as follows:
Wherein,
In above-mentioned two formulas: x=L+2 ..., 50 × N;L=40 is the data length of intercepting;M=1,2 ..., L;
Step S5: owing to the output amplitude of two filter being assumed to equal in step S3, but physical presence deviation, therefore need profit
Once come it is corrected with value of calculation again iteration, it is ensured that two amplitudes are equal;Utilize calculate in step S4 a certain
Actual frequency values f in moment, is substituted into following two formulas, calculates the output amplitude of two wave filter, then carries out it suitably
Correction;The amplitude-frequency response of two orthogonal filter outputs is:
Step S6: utilize 4 rank, the frequency curve of final output is put down by the Butterworth wave filter of cut-off frequency 15Hz
Sliding filtering, in order to improve algorithm capacity of resisting disturbance further.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610194672.XA CN105891599A (en) | 2016-03-31 | 2016-03-31 | Power frequency tracking method based on improved DODF-WSPD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610194672.XA CN105891599A (en) | 2016-03-31 | 2016-03-31 | Power frequency tracking method based on improved DODF-WSPD |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105891599A true CN105891599A (en) | 2016-08-24 |
Family
ID=57014396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610194672.XA Pending CN105891599A (en) | 2016-03-31 | 2016-03-31 | Power frequency tracking method based on improved DODF-WSPD |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105891599A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107228980A (en) * | 2017-06-06 | 2017-10-03 | 北京智芯微电子科技有限公司 | A kind of method and device for measuring mains frequency |
WO2023109416A1 (en) * | 2021-12-16 | 2023-06-22 | 广州城市理工学院 | Small hydropower frequency prediction method taking frequency change trend into consideration |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477401A (en) * | 2003-07-18 | 2004-02-25 | 清华大学 | High-accuracy synchronous phasor measuring method |
JP2012163543A (en) * | 2010-09-30 | 2012-08-30 | Daihen Corp | Frequency detector |
CN103728523A (en) * | 2014-01-21 | 2014-04-16 | 国家电网公司 | Urban power grid yield measuring method |
CN103837740A (en) * | 2013-12-25 | 2014-06-04 | 北京航天测控技术有限公司 | High-precision digital instantaneous frequency measurement method and device |
-
2016
- 2016-03-31 CN CN201610194672.XA patent/CN105891599A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477401A (en) * | 2003-07-18 | 2004-02-25 | 清华大学 | High-accuracy synchronous phasor measuring method |
JP2012163543A (en) * | 2010-09-30 | 2012-08-30 | Daihen Corp | Frequency detector |
CN103837740A (en) * | 2013-12-25 | 2014-06-04 | 北京航天测控技术有限公司 | High-precision digital instantaneous frequency measurement method and device |
CN103728523A (en) * | 2014-01-21 | 2014-04-16 | 国家电网公司 | Urban power grid yield measuring method |
Non-Patent Citations (1)
Title |
---|
路文喜 等: "改进双正交滤波器组的电网频率跟踪算法", 《电网与清洁能源》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107228980A (en) * | 2017-06-06 | 2017-10-03 | 北京智芯微电子科技有限公司 | A kind of method and device for measuring mains frequency |
CN107228980B (en) * | 2017-06-06 | 2020-09-08 | 北京智芯微电子科技有限公司 | Method and device for measuring power grid frequency |
WO2023109416A1 (en) * | 2021-12-16 | 2023-06-22 | 广州城市理工学院 | Small hydropower frequency prediction method taking frequency change trend into consideration |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103869162B (en) | Dynamic signal phasor measurement method based on time domain quasi-synchronization | |
CN103454497B (en) | Based on the method for measuring phase difference improving windowed DFT | |
Yang et al. | A precise calculation of power system frequency and phasor | |
CN102779238B (en) | Brushless DC (Direct Current) motor system identification method on basis of adaptive Kalman filter | |
CN102377180B (en) | Power system load modeling method based on electric energy quality monitoring system | |
CN102435844B (en) | Sinusoidal signal phasor calculating method being independent of frequency | |
Kanna et al. | Distributed widely linear Kalman filtering for frequency estimation in power networks | |
CN104391178B (en) | A kind of time shift phase difference stable state harmonic signal bearing calibration based on Nuttall windows | |
Dash et al. | Dynamic phasor and frequency estimation of time-varying power system signals | |
CN104635094A (en) | Method for improving PMU (power management unit) synchronous phasor measurement precision | |
CN104459321B (en) | Power signal base wave phase measurement method and system | |
CN203287435U (en) | A micro electrical network harmonic wave and inter-harmonic wave test apparatus based on an STM32F107VCT6 | |
CN108959689B (en) | Electric automobile charging pile harmonic detection algorithm based on improved Duffing oscillator chaotic model | |
CN107478896A (en) | A kind of frequency adaptive harmonic current detection method based on cascade Generalized Integrator | |
CN107994885A (en) | Distributed fused filtering method that is a kind of while estimating Unknown worm and state | |
CN103278686A (en) | Harmonic analysis filtering system and intelligently selected harmonic detection method | |
CN105891599A (en) | Power frequency tracking method based on improved DODF-WSPD | |
CN109521330A (en) | A kind of transmission line malfunction travelling wave ranging method based on the prediction of ARIMA wave head | |
CN105353270B (en) | Consider the grid-connected fault-tolerant localization method of power quality disturbance of distributed generation resource | |
CN104950215B (en) | A kind of Microcomputer Protection method | |
Bin et al. | A method to extract instantaneous features of low frequency oscillation based on trajectory section eigenvalues | |
CN105137186A (en) | Synchronous voltage phase difference measuring method of microcomputer automatic synchronizing device | |
CN108169558A (en) | Electric system real-time frequency measurement method | |
Ukil et al. | Power systems frequency estimation using amplitude tracking square wave for low-end protective relays | |
CN103592530A (en) | Method for discriminating type of low frequency oscillation mechanism based on envelope fitting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160824 |