CN106980043A - A kind of improvement phase difference correction method based on Hanning window - Google Patents

A kind of improvement phase difference correction method based on Hanning window Download PDF

Info

Publication number
CN106980043A
CN106980043A CN201710131873.XA CN201710131873A CN106980043A CN 106980043 A CN106980043 A CN 106980043A CN 201710131873 A CN201710131873 A CN 201710131873A CN 106980043 A CN106980043 A CN 106980043A
Authority
CN
China
Prior art keywords
hanning window
formula
sigma
phase difference
correction method
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
CN201710131873.XA
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201710131873.XA priority Critical patent/CN106980043A/en
Publication of CN106980043A publication Critical patent/CN106980043A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/12Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into phase shift
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Complex Calculations (AREA)

Abstract

The invention discloses a kind of improvement phase difference correction method based on Hanning window, this method is larger mainly for existing phase difference correction method measurement error in the case where haveing the shortcomings that m-Acetyl chlorophosphonazo, while sidelobe performance is improved, the frequency-domain expression of a demand solution Hanning window possesses higher precision.This method is substantially in the new spectrum sequence after polynomial transformation, obtained and a new sample window for being different from Hanning window has been weighted on simple signal, and its first side lobe height and subsequent side lobe attenuation speed are better than Hanning window.

Description

A kind of improvement phase difference correction method based on Hanning window
Technical field
The invention belongs to Electric Power Harmonic Analysis technical field, more particularly to a kind of improvement phase difference correction based on Hanning window Method.
Background technology
In recent years, with the construction and the popularization of new energy technology of intelligent grid, various distributed power sources and energy storage device Also it is widely applied, while feature and the reduction disposal of pollutants that power network is powered is enhanced, is also brought to power network Substantial amounts of harmonic wave.Electric harmonic parameter is accurate, real-time on-line monitoring is weight during development intelligent grid, improvement harmonic pollution The technological means wanted.Fast Fourier Transform (FFT) (FFT) is because calculating speed is fast, be easy to the advantages such as Project Realization, in electric harmonic It is widely used in monitoring.In the case of synchronized sampling, FFT is minimum to the measurement error of fundamental wave and each harmonic, And when system fundamental frequency dynamic change so as to when producing larger frequency shift (FS), the frequency that signal cutout is caused under non-synchronous sampling Spectrum leakage can produce large effect to measurement accuracy, in some instances it may even be possible to cause measurement to fail.For this problem, propose in recent years Many improved methods based on FFT.
For example with time domain interpolation method, its principle is the fundamental frequency for first calculating signal, then based on synchronized ideal Sample frequency enters row interpolation restructuring, it is adaptable to the higher occasion of requirement of real-time.But overtone order it is higher or between having it is humorous Error is larger in the presence of ripple.
Again for example with multiline interpolation algorithm, its computational accuracy is higher, but needs to solve parameter in calculating process Approximation by polynomi-als formula, and correction formula after each window function curve matching differs, computationally intensive, is difficult to realize.
In addition, also there is a kind of phase difference correction method, this method by the phase difference of front and rear FFT twice corresponding spectral line come Frequency correction amount is calculated, algorithm is simple.Principle is as follows:
For a certain harmonic component in signal, have:
If the frequency domain analytic expression of gravity center of symmetric window function is W (f), then to the harmonic component adding window and Fourier transformation is done, had:
Wherein, T is the length of window function, and above formula only considers the positive half of its frequency spectrum, and assumes other harmonic components Interference is sufficiently small, can be ignored.Under the premise of this, its phase is:
If frequency error isThen above formula can be written as:
If original signal is delayed into t in time domain0, then the initial phase of the harmonic component also change therewith It can similarly be obtained, now had according to above-mentioned derivation:
Formula (5) subtracts formula (4), obtains
It can thus be concluded that the correcting value of frequency is:
Amplitude can be extrapolated accordingly and the updating formula of phase is as follows:
Y in above formula (typically selects after FFT at the maximum of spectral line) amplitude at place for frequency f.
In above formulaFor the phase at frequency f.
From formula (8), the amplitude rectification of the correction method depends on the frequency domain analytic expression of window function, and some window functions Fourier transformation analytical expression can not be derived, therefore be dfficult to apply to phase difference correction method.And phase difference correction method exists Using some expression formulas excessively complicated window function (such as convolution window) when it is also rather inconvenient, this is a big limitation of this method.
In addition, the premise that above-mentioned derivation is set up is:Only consider the positive half of frequency spectrum, and assume the dry of other harmonic components Disturb sufficiently small.But in fact, due to spectrum leakage and to there may be the interference between m-Acetyl chlorophosphonazo, each harmonic be very important , this will cause the error of result of calculation.
The content of the invention
For the phase difference correction method in background technology, in the case where there is m-Acetyl chlorophosphonazo, measurement error is larger, and the present invention is carried A kind of improvement phase difference algorithm based on Hanning window is gone out.While sidelobe performance is improved, the frequency of a demand solution Hanning window Domain expression formula, possesses higher precision.
For signal shown in formula (1), if using Hanning window wH(t) it is weighted and blocks in time domain, sampled signal x can be obtainedH (t), its frequency spectrum is:
XH(f)=X (f) * WH(f) (10)
In actual applications, it is general that its discrete spectrum X is asked for using FFTH(k), can regard as on continuous frequency spectrum with Δ f=fs/ N carries out discrete sampling, has
Wherein, N represents the points of fft analysis, k 'm=fm/Δf.When N is very big, above formula can be written as form:
Further simplify, have:
In formula:
σ=k-k 'm=k- (km+Δkm) (14)
Wherein, kmFor k 'mRound and obtain nearby, Δ km∈(-1,1)。
Following algorithm improvement is carried out for Hanning window:
From formula (13), | XH(k) | and | σ (σ2- 1) | between there is inverse relation, the height of spectral line in main lobe both sides Be withVelocity attenuation.In order to improve precision, it should pursue faster side lobe attenuation, to reach that reduction is each humorous The purpose interfered between wave component.Its decay is now made to accelerate, to XH(k) polynomial transformation is carried out, a new frequency is obtained
Spectral sequence is as follows:
And for the purpose for accelerating decay, make above formula meet following equation:
Simultaneous formula (16) and formula (17), by coefficient of correlation, can solve to obtain a=1/60, b=-1/90, c=1/360.
Observation type (17) is obtained, and the rate of decay of the new sequence obtained by polynomial transformation increases to 1/ | σ (σ2-1) (σ2-4)(σ2- 9) |, spectrum leakage is reduced in theory.
Observation type (12) is understood again, XH(k)、-XH(k+1)、-XH(k-1)、XH(k+2)、XH(k-2) phase is all identical , so new spectrum sequence XH-5And X (k)H(k) it is also consistent in phase-frequency characteristic, in phase difference correction method before Derivation still set up, new sequence goes for this method.
Brief description of the drawings
Fig. 1 is XHAnd XH-5Spectrum curve contrast schematic diagram.
Embodiment
In practical application, adding Hanning window to measured signal with fsFrequency carry out discrete sampling, take a segment signal length For (L+N), N points obtain first paragraph time series x (n) before taking, and delay L points, then take N points to obtain second segment time series x0(n), Wherein 0<L≤N.Make N point fft analysis to above-mentioned two time series, and progress polynomial transformation is obtained newly as shown in formula (16) Spectrum sequence XH-5And X (k)0H-5(k) the corresponding spectral line k in each maximum place of spectral line amplitude, is found outm, then normalize Frequency correction amount be Δ km
According to discussion before to phase difference correction method, by x (n) and x0(n) the corresponding spectral line of the frequency spectrum of two sequences Phase is subtracted each other:
ΔΦ=Φ0(km)-Φ(km) (18)
Then from derivation before:
Frequency correction amount Δ k after being normalized againmAfterwards, frequency, amplitude and phase can be all corrected, wherein Actual frequency after correction is:
fm=(km+Δkm)fs/N (20)
And in amplitude rectification, only need to know that the frequency domain analytic expression of Hanning window can be carried out, formula is as follows:
The updating formula of phase is:
DTFT now is carried out to a simple signal in time domain plus after Hanning window, continuous spectrum curve is obtained, for another example formula (16) a new frequency spectrum is drawn shown in, for the ease of observing and comparing, frequency and amplitude have been normalized, and ordinate is used Decibel expression, as shown in Figure 1.
From accompanying drawing 1, substantially add in the new spectrum sequence after polynomial transformation, obtained on simple signal A new sample window for being different from Hanning window is weighed, it is peaceful that its first side lobe height and subsequent side lobe attenuation speed are better than the Chinese Window.Because FFT computings and formula (16) are all linear operations, when analyzing harmonic signal, it can be understood as, first to each frequency point Amount has carried out polynomial transformation, then carries out frequency domain superposition, and the side lobe attenuation speed of each harmonic component is accelerated, when frequency point When resolution is sufficiently high, using XH-5(k) sequence carries out that the interference between each harmonic, m-Acetyl chlorophosphonazo can be reduced, so as to improve survey Accuracy of measurement.

Claims (1)

1. a kind of improvement phase difference correction method based on Hanning window, it is characterised in that this method is:
For a certain harmonic component in signalUsing Hanning window wH(t) it is right in time domain Its weighting is blocked, and can obtain sampled signal xH(t), its frequency spectrum is:
XH(f)=X (f) * WH(f) (1)
Its discrete spectrum X is asked for using FFTH(k), i.e., with Δ f=f on continuous frequency spectrums/ N carries out discrete sampling, is reduced to:
X H ( k ) = B &sigma; ( &sigma; 2 - 1 ) - - - ( 2 )
In formula:
σ=k-k 'm=k- (km+Δkm) (3)
Wherein, N represents the points of fft analysis, k 'm=fm/ Δ f, kmFor k 'mRound and obtain nearby, Δ km∈(-1,1);
Following algorithm improvement is carried out for Hanning window:
From formula (2), | XH(k) | and | σ (σ2- 1) | between there is inverse relation, the height of spectral line in main lobe both sides be withVelocity attenuation, make its decay accelerate, to XH(k) polynomial transformation is carried out, a new spectrum sequence is obtained It is as follows:
X H - 5 ( k ) = aX H ( k ) + b &lsqb; X H ( k + 1 ) + X H ( k - 1 ) &rsqb; + c &lsqb; X H ( k + 2 ) + X H ( k - 2 ) &rsqb; - - - ( 5 )
And make above formula meet following equation:
X H - 5 ( k ) = B &sigma; ( &sigma; 2 - 1 ) ( &sigma; 2 - 4 ) ( &sigma; 2 - 9 ) - - - ( 6 )
Simultaneous formula (5) and formula (6), by coefficient of correlation, can solve to obtain a=1/60, b=-1/90, c=1/360.
CN201710131873.XA 2017-03-07 2017-03-07 A kind of improvement phase difference correction method based on Hanning window Pending CN106980043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710131873.XA CN106980043A (en) 2017-03-07 2017-03-07 A kind of improvement phase difference correction method based on Hanning window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710131873.XA CN106980043A (en) 2017-03-07 2017-03-07 A kind of improvement phase difference correction method based on Hanning window

Publications (1)

Publication Number Publication Date
CN106980043A true CN106980043A (en) 2017-07-25

Family

ID=59338861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710131873.XA Pending CN106980043A (en) 2017-03-07 2017-03-07 A kind of improvement phase difference correction method based on Hanning window

Country Status (1)

Country Link
CN (1) CN106980043A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109507495A (en) * 2018-10-17 2019-03-22 华北水利水电大学 It is a kind of to become the long quasi- simultaneous interconnecting measurement method of parameters of window

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334431A (en) * 2007-12-20 2008-12-31 复旦大学 Electric network harmonic frequency spectrum interpolation correction analytical method
CN102539915A (en) * 2012-01-06 2012-07-04 中国矿业大学 Method for accurately calculating power harmonic wave parameters through adopting time delay Fourier transform frequency measurement method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334431A (en) * 2007-12-20 2008-12-31 复旦大学 Electric network harmonic frequency spectrum interpolation correction analytical method
CN102539915A (en) * 2012-01-06 2012-07-04 中国矿业大学 Method for accurately calculating power harmonic wave parameters through adopting time delay Fourier transform frequency measurement method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王刘旺等: "基于加汉宁窗的FFT高精度谐波检测改进算法", 《电力系统保护与控制》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109507495A (en) * 2018-10-17 2019-03-22 华北水利水电大学 It is a kind of to become the long quasi- simultaneous interconnecting measurement method of parameters of window
CN109507495B (en) * 2018-10-17 2020-12-15 华北水利水电大学 Variable-window-length quasi-synchronization grid-connected parameter measurement method

Similar Documents

Publication Publication Date Title
CN102435844B (en) Sinusoidal signal phasor calculating method being independent of frequency
CN109521275B (en) Synchronous phasor determination method, system, device and readable storage medium
CN105137180B (en) High-precision harmonic analysis method based on six four spectral line interpolations of Cosine Window
CN108037361A (en) A kind of high-precision harmonic parameters method of estimation based on sliding window DFT
CN110837001B (en) Method and device for analyzing harmonic waves and inter-harmonic waves in electric power system
CN111222088B (en) Improved method for estimating weighted power harmonic amplitude of flat-top self-convolution window
CN111984920B (en) Subsynchronous/supersynchronous harmonic parameter identification method, subsynchronous/supersynchronous harmonic parameter identification device, subsynchronous/supersynchronous harmonic parameter identification equipment and medium
CN107271774B (en) A kind of APF harmonic detecting method based on spectrum leakage correcting algorithm
CN103018555B (en) High-precision electric power parameter software synchronous sampling method
CN107643446A (en) A kind of multiline interpolation harmonic analysis method and system based on main lobe width
CN110837003A (en) Double-window full-phase DFT (discrete Fourier transform) synchronous phasor measurement method and system based on triangular window
CN115575707A (en) Harmonic detection device and method based on combination of improved FFT algorithm and wavelet transform
CN110954746A (en) Six-interpolation FFT algorithm based on four-term Nuttall cosine window
CN112255457B (en) Phase angle difference measuring method suitable for automatic quasi-synchronization device
CN110320400B (en) Voltage flicker envelope parameter extraction method for quasi-synchronous sampling and improved energy operator
CN106980043A (en) A kind of improvement phase difference correction method based on Hanning window
Jiao et al. An approach for electrical harmonic analysis based on interpolation DFT
CN106324342A (en) Harmonic wave detecting method based on table look-up
CN115856429A (en) Current harmonic detection method, system and storage medium
CN111579868B (en) Method and device for measuring higher harmonics
CN105137198A (en) Novel dielectric loss measurement method based on Nuttall window - five-point converting FFT
CN112014811B (en) Fine estimation method for radar carrier frequency
CN110579800B (en) Seismic data digital processing method based on high-precision synchronous extrusion transformation
CN114184838A (en) Power system harmonic detection method, system and medium based on SN mutual convolution window
CN107525987B (en) Synchronous grid-connected parameter measuring method based on self-adaptive sequence full-phase DFT

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170725

RJ01 Rejection of invention patent application after publication