CN104914306B - A kind of signal amplitude measuring method based on the plural spectral lines of two DFT - Google Patents

A kind of signal amplitude measuring method based on the plural spectral lines of two DFT Download PDF

Info

Publication number
CN104914306B
CN104914306B CN201410727141.3A CN201410727141A CN104914306B CN 104914306 B CN104914306 B CN 104914306B CN 201410727141 A CN201410727141 A CN 201410727141A CN 104914306 B CN104914306 B CN 104914306B
Authority
CN
China
Prior art keywords
mrow
msub
signal
centerdot
dft
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
Application number
CN201410727141.3A
Other languages
Chinese (zh)
Other versions
CN104914306A (en
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.)
State Grid Corp of China SGCC
Xuji Group Co Ltd
Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd
Henan Xuji Instrument Co Ltd
Original Assignee
State Grid Corp of China SGCC
Xuji Group Co Ltd
Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd
Henan Xuji Instrument Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Xuji Group Co Ltd, Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd, Henan Xuji Instrument Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410727141.3A priority Critical patent/CN104914306B/en
Publication of CN104914306A publication Critical patent/CN104914306A/en
Application granted granted Critical
Publication of CN104914306B publication Critical patent/CN104914306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of signal amplitude measuring method based on the plural spectral lines of two DFT, belong to signal parameter field of measuring technique.It is a feature of the present invention that its process step is included:Sampled signal is subjected to DFT transform after windowing process, search two plural spectral lines near correspondence measured signal frequency, complex values based on two spectral lines calculate intermediate parameters by direct derivation formula or approximating polynomial formula, and final amplitude measurement result is equal to the mould of intermediate parameters.The present invention is directly based upon spectral line plural number and calculated, and without to every spectral line modulus, reducing amount of calculation, and calculating process can offset the secondary lobe interference of other frequency signals, improve measurement accuracy.

Description

A kind of signal amplitude measuring method based on the plural spectral lines of two DFT
Technical field
The present invention relates to a kind of signal amplitude and Method for Phase Difference Measurement based on the plural spectral lines of two DFT, belong to signal ginseng Number field of measuring technique.
Background technology
Currently, the method based on discrete Fourier transform DFT or its fast algorithm fft analysis frequency signal makes extensively With.But, there is DFT hurdle effect, i.e. actual signal frequency may not fall in discrete spectral line, thus need to use interpolation algorithm Estimate frequency, amplitude and the phase of actual signal.2003《Proceedings of the CSEE》That is delivered on the phase of volume 23 6 " applies FFT Proposed in the innovatory algorithm of progress harmonic analysis in power system " article to after input discrete signal adding window Fourier transformation, leading to Cross selection amplitude highest and time high two spectral lines, the method for interpolation measurement signal frequency, amplitude and phase.If two spectral lines Discrete frequency sequence number corresponds to k respectively1And k2=k1+ 1, the then corresponding position k of actual signal frequency0Meet k1≤k0≤k2.Introduce One auxiliary parameter α=k0-k1- 0.5, ignore the interference of other signals, then α number range is [- 0.5,0.5].Thus, it is based on Two spectral line amplitudes | Y (k1) | and | Y (k2) | calculating signal amplitude A can calculate according to following interpolation formula:
For general real coefficient window function, when n is large, above formula can be further simplified as A=(1/N) (| Y (k1)|+|Y(k2) |) v (α) form, v (α) is the function of frequency deviation parameter alpha and unrelated with N.If using M times force of highest Nearly polynomial computation function, then signal amplitude A calculation formula can be further represented as:
The phase calculation formula that existing method has been provided is:
θ=arg (Y (ki))+π/2-arg(W(2π·(ki-k0)/N))
Wherein, i takes 1 or 2.
Existing methods deficiency is that the calculating of signal amplitude and phase is separate, and its amplitude, which is calculated, to be needed to calculate The quadratic sum and then progress evolution of real and imaginary parts, its phase calculation need to calculate Y (ki) and W (2 π (ki-k0)/N) two The angle of plural number, so computationally intensive.Method is also easy to the secondary lobe interference by other frequency signals simultaneously.
The content of the invention
It is an object of the invention to provide a kind of signal amplitude measuring method based on the plural spectral lines of two DFT, to solve The problem of existing method amount of exercise is greatly and secondary lobe is disturbed.
To achieve the above object, the solution of the present invention includes:
A kind of signal amplitude measuring method based on the plural spectral lines of two DFT, step is as follows:
Step (1):It is F by sample rateS, sampled point be the sampled signal x (n) of N points continuously intercepted, carry out windowing process Windowing signal y (n) is obtained, windowing process formula is:
Y (n)=x (n) w (n),
Wherein w (n) is the window function sequence of N points, n=0:(N-1);
Step (2):Discrete fourier DFT transform is carried out to windowing signal y (n), discrete spectrum Y (k) is obtained, wherein discrete Frequency sequence number k=0:(N-1);
Step (3):According to required measurement amplitude and the frequency f of the signal of phase0Corresponding discrete frequency sequence number value k0, Find and close on k0Two spectral lines, its discrete frequency sequence number is respectively k1And k2, wherein k0=Nf0/FS, k1Equal to no more than k0Maximum integer, i.e. k1=floor (k0), k2=k1+1;
Step (4):According to k1And k2Corresponding two plural number spectral line Y (k1) and Y (k2) calculate intermediate parameters Y:
Step (5):Respective frequencies f0Measured signal amplitude measurement result A be equal to intermediate parameters Y mould, i.e. A=| Y |.
Described step (4) calculates intermediate parameters Y using approximating polynomial, and its calculation formula is:
Wherein, α=k0-k1- 0.5, P and Q are the highest number of times of real and imaginary parts approximating polynomial, b respectivelyp(p=0:P) And cq(q=0:Q) it is respectively real part approximating polynomial pth time item αpWith the q times item α of imaginary part approximating polynomialqCoefficient.
The design principle of frequency measurement method of the present invention is:Assuming that a frequency is f0, amplitude be list that A, initial phase are θ One frequency signal x (t), obtains the discrete signal of following form after it have passed through the analog to digital conversion that sample rate is Fs:
If the forms of time and space of institute's windowed function is w (n), the continuous frequency spectrum that its discrete time Fourier transform DTFT is obtained For W (ω), then ignore negative frequency-f0Locate the secondary lobe influence at frequency peak, in positive frequency f0Neighbouring continuous frequency spectrum function can be expressed For:
Above formula carries out discrete sampling, you can the expression formula for obtaining DFT DFT is:
Wherein, discrete frequency intervals are Δ f=FS/N.Then,
Wherein, discrete frequency intervals are Δ f=FS/N.Thus,
So, directly calculated using plural spectral line obtained by moulds of the amplitude measurement result A equal to intermediate parameters Y, phase Position measurement result θ is equal to Y argument.
Cosine window function is the most commonly used class window functions of DFT.Correspondingly the unified forms of time and space of cosine window function is:
Cosine Window w (n) discrete time Fourier transform DTFT results are:
Wherein:
In the main lobe of signal DTFT spectrum curves, and when n is large, approximately have:
WhenWhen, above formula takes equal sign.According to conventional cosine window function coefficient, in main lobe-H<k<In H, its is adjacent Two spectral line W (ω) andPhase difference be approximately π;And correspondence H<k<In N/2 secondary lobe W (ω) andClose to same-phase.Thus, to the processing of most cosine window function frequency domainsIt is resulting New window function, being capable of further suppressed sidelobes, therefore other frequency signals and its DFT negative frequency signal pair can be reduced The influence of frequency signal spectral line to be measured, so as to improve measurement accuracy.
Brief description of the drawings
Fig. 1 is the procedure chart of amplitude measurement of the present invention;
Fig. 2 is the embodiment of the present invention while measuring the procedure chart of amplitude and phase.
Embodiment
The present invention will be further described in detail below in conjunction with the accompanying drawings.
Following two embodiments are used to measure the frequency signal near 50Hz, and in measurement amplitude signal Meanwhile, also give phase.
Embodiment 1
Step (1):By sample rate Fs=1500Hz, the signal x (n) of continuous interception N=512 points, carry out windowing process and obtain To windowing signal y (n), windowing process formula is:
Y (n)=x (n) w (n),
Wherein w (n) selects the Hanning window function sequences of N=512 points, i.e.,:
Step (2):Discrete fourier DFT transform is carried out to windowing signal y (n), discrete spectrum Y (k) is obtained, wherein discrete Frequency sequence number k=0:(N-1);
Step (3):According to required measurement amplitude and the frequency f of the signal of phase0Corresponding discrete frequency sequence number value k0, Find and close on k0Two spectral lines, its discrete frequency sequence number is respectively k1And k2, wherein k0=Nf0/FS, k1Equal to no more than k0Maximum integer, i.e. k1=floor (k0), k2=k1+1;
Step (4):According to k1And k2Corresponding two plural number spectral line Y (k1) and Y (k2) calculate intermediate parameters Y:
Wherein, α=k0-k1-0.5;
Step (5):Respective frequencies f0Measured signal amplitude measurement result A be equal to intermediate parameters Y mould, phase measurement As a result θ is equal to Y argument, i.e.,:
Embodiment 2
Step (1):By sample rate Fs=1500Hz, the signal x (n) of continuous interception N=512 points, carry out windowing process and obtain To windowing signal y (n), windowing process formula is:
Y (n)=x (n) w (n),
Wherein w (n) selects Blacknam (BlackMan) window function sequence of N=512 points, i.e.,:
Step (2):Discrete fourier DFT transform is carried out to windowing signal y (n), discrete spectrum Y (k) is obtained, wherein discrete Frequency sequence number k=0:(N-1);
Step (3):According to required measurement amplitude and the frequency f of the signal of phase0Corresponding discrete frequency sequence number value k0, Find and close on k0Two spectral lines, its discrete frequency sequence number is respectively k1And k2, wherein k0=Nf0/FS, k1Equal to no more than k0Maximum integer, i.e. k1=floor (k0), k2=k1+1;
Step (4):Intermediate parameters Y, the highest number of times point of real and imaginary parts approximating polynomial are calculated using approximating polynomial Wei not be 7 times and 6 times, the actual calculation formula used for:
Wherein, α=k0-k1-0.5;
Step (5):Respective frequencies f0Measured signal amplitude measurement result A be equal to intermediate parameters Y mould, phase measurement As a result arguments of the θ equal to Y adds pi/2, i.e.,:
According to first and second embodiment, one group of emulation testing data of identical are inputted respectively, to verify two The result of calculation of embodiment.The input signal x (n) is fundamental frequency f1For 50.1Hz, the signals of 2 to 9 subharmonic is included, specifically Form is:
Wherein, the amplitude of fundamental wave and each harmonic is respectively:1,0.02,0.1,0.01,0.05,0.0,0.02,0.0, 0.01;Initial phase is -23.1 ° respectively, 115.6 °, 59.3 °, 52.4 °, 123.8 °, 161.8 °, -31.8 °, 119.9 °, - 63.7°.The amplitude and phase of measurement 50.1Hz fundamental signals are needed in emulation testing.Fundamental frequency f0Corresponding discrete frequency Sequence number value k0=17.1008, selection closes on k0Two spectral lines discrete frequency sequence number k1=17 and k2=18.
In first embodiment using the peaceful window in Kazakhstan, the complex values of two spectral lines of discrete frequency serial number range 17 and 18 For:Y(k1)=- 10.9858392-j126.688437, Y (k2)=6.36734959+j73.4295187.Thus,
Finally, the measurement result of amplitude is A=| Y |=1.0000000229, relative error 0.00000229%;Phase Measurement result is -0.403170967rad, i.e., -23.09999483 °, 0.00000517 ° of absolute error.
Using in second embodiment of Blackman window, two spectral lines of discrete frequency serial number range 17 and 18 are answered Numerical value is:Y(k1)=- 9.38422261-j108.21320679, Y (k2)=6.10560557+j70.41558734.Thus,
Finally, the measurement result of amplitude is A=| Y |=1.0000016114, relative error 0.00016114%;Phase Measurement result is -0.4031777747rad, i.e., -23.10038489 °, -0.00038489 ° of absolute error.
Specific embodiment is presented above, but the present invention is not limited to described embodiment.The base of the present invention This thinking is above-mentioned basic scheme, for those of ordinary skill in the art, according to the teachings of the present invention, designs various changes The model of shape, formula, parameter simultaneously need not spend creative work.It is right without departing from the principles and spirit of the present invention The change, modification, replacement and modification that embodiment is carried out are still fallen within protection scope of the present invention.

Claims (2)

1. a kind of signal amplitude measuring method based on the plural spectral lines of two DFT, it is characterised in that step is as follows:
Step (1):It is F by sample rateS, sampled point be the sampled signal x (n) of N points continuously intercepted, carry out windowing process and obtain Windowing signal y (n), windowing process formula is:
Y (n)=x (n) w (n),
Wherein w (n) is the window function sequence of N points, n=0:(N-1);
Step (2):Discrete fourier DFT transform is carried out to windowing signal y (n), discrete spectrum Y (k), wherein discrete frequency is obtained Sequence number k=0:(N-1);
Step (3):According to required measurement amplitude and the frequency f of the signal of phase0Corresponding discrete frequency sequence number value k0, search To closing on k0Two spectral lines, its discrete frequency sequence number is respectively k1And k2, wherein k0=Nf0/FS, k1Equal to no more than k0's Maximum integer, i.e. k1=floor (k0), k2=k1+1;
Step (4):According to k1And k2Corresponding two plural number spectral line Y (k1) and Y (k2) calculate intermediate parameters Y:
<mrow> <mi>Y</mi> <mo>=</mo> <mfrac> <mrow> <mn>2</mn> <mo>&amp;CenterDot;</mo> <mrow> <mo>(</mo> <mi>Y</mi> <mrow> <mo>(</mo> <msub> <mi>k</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mo>-</mo> <mi>Y</mi> <mrow> <mo>(</mo> <msub> <mi>k</mi> <mn>1</mn> </msub> <mo>)</mo> </mrow> <mo>)</mo> </mrow> </mrow> <mrow> <mi>W</mi> <mrow> <mo>(</mo> <mn>2</mn> <mi>&amp;pi;</mi> <mo>&amp;CenterDot;</mo> <mrow> <mo>(</mo> <msub> <mi>k</mi> <mn>2</mn> </msub> <mo>-</mo> <msub> <mi>k</mi> <mn>0</mn> </msub> <mo>)</mo> </mrow> <mo>/</mo> <mi>N</mi> <mo>)</mo> </mrow> <mo>-</mo> <mi>W</mi> <mrow> <mo>(</mo> <mn>2</mn> <mi>&amp;pi;</mi> <mo>&amp;CenterDot;</mo> <mrow> <mo>(</mo> <msub> <mi>k</mi> <mn>1</mn> </msub> <mo>-</mo> <msub> <mi>k</mi> <mn>0</mn> </msub> <mo>)</mo> </mrow> <mo>/</mo> <mi>N</mi> <mo>)</mo> </mrow> </mrow> </mfrac> <mo>;</mo> </mrow>
Step (5):Respective frequencies f0Measured signal amplitude measurement result A be equal to intermediate parameters Y mould, i.e. A=| Y |.
2. a kind of signal amplitude measuring method based on the plural spectral lines of two DFT according to claim 1, its feature exists In:Described step (4) calculates intermediate parameters Y using approximating polynomial, and its calculation formula is:
<mrow> <mi>Y</mi> <mo>&amp;ap;</mo> <mfrac> <mn>1</mn> <mi>N</mi> </mfrac> <mo>&amp;CenterDot;</mo> <mrow> <mo>(</mo> <mi>Y</mi> <mrow> <mo>(</mo> <msub> <mi>k</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mo>-</mo> <mi>Y</mi> <mrow> <mo>(</mo> <msub> <mi>k</mi> <mn>1</mn> </msub> <mo>)</mo> </mrow> <mo>)</mo> </mrow> <mo>&amp;CenterDot;</mo> <mrow> <mo>(</mo> <munderover> <mi>&amp;Sigma;</mi> <mrow> <mi>p</mi> <mo>=</mo> <mn>0</mn> </mrow> <mi>P</mi> </munderover> <msub> <mi>b</mi> <mi>p</mi> </msub> <mo>&amp;CenterDot;</mo> <msup> <mi>&amp;alpha;</mi> <mi>p</mi> </msup> <mo>+</mo> <mi>j</mi> <mo>&amp;CenterDot;</mo> <munderover> <mi>&amp;Sigma;</mi> <mrow> <mi>q</mi> <mo>=</mo> <mn>0</mn> </mrow> <mi>Q</mi> </munderover> <msub> <mi>c</mi> <mi>q</mi> </msub> <mo>&amp;CenterDot;</mo> <msup> <mi>&amp;alpha;</mi> <mi>q</mi> </msup> <mo>)</mo> </mrow> <mo>,</mo> </mrow>
Wherein, α=k0-k1- 0.5, P and Q are the highest number of times of real and imaginary parts approximating polynomial, b respectivelyp(p=0:) and c Pq(q =0:Q) it is respectively real part approximating polynomial pth time item αpWith the q times item α of imaginary part approximating polynomialqCoefficient.
CN201410727141.3A 2014-12-03 2014-12-03 A kind of signal amplitude measuring method based on the plural spectral lines of two DFT Active CN104914306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410727141.3A CN104914306B (en) 2014-12-03 2014-12-03 A kind of signal amplitude measuring method based on the plural spectral lines of two DFT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410727141.3A CN104914306B (en) 2014-12-03 2014-12-03 A kind of signal amplitude measuring method based on the plural spectral lines of two DFT

Publications (2)

Publication Number Publication Date
CN104914306A CN104914306A (en) 2015-09-16
CN104914306B true CN104914306B (en) 2017-11-03

Family

ID=54083546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410727141.3A Active CN104914306B (en) 2014-12-03 2014-12-03 A kind of signal amplitude measuring method based on the plural spectral lines of two DFT

Country Status (1)

Country Link
CN (1) CN104914306B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113341224B (en) * 2021-06-08 2022-05-24 国网湖南省电力有限公司 Method and device for measuring low-frequency oscillation signal of power system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950012A (en) * 2010-03-24 2011-01-19 北京北研兴电力仪表有限责任公司 Field tester for alternating current (AC) energy meter
CN102435844A (en) * 2011-11-01 2012-05-02 南京磐能电力科技股份有限公司 Sinusoidal signal phasor calculating method being independent of frequency
CN103454497A (en) * 2013-09-10 2013-12-18 南京理工大学 Phase difference measuring method based on improved windowing discrete Fourier transform
CN104133404A (en) * 2014-07-23 2014-11-05 株洲南车时代电气股份有限公司 Method and device for processing signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950012A (en) * 2010-03-24 2011-01-19 北京北研兴电力仪表有限责任公司 Field tester for alternating current (AC) energy meter
CN102435844A (en) * 2011-11-01 2012-05-02 南京磐能电力科技股份有限公司 Sinusoidal signal phasor calculating method being independent of frequency
CN103454497A (en) * 2013-09-10 2013-12-18 南京理工大学 Phase difference measuring method based on improved windowing discrete Fourier transform
CN104133404A (en) * 2014-07-23 2014-11-05 株洲南车时代电气股份有限公司 Method and device for processing signal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于加窗递推DFT算法的快速相位差校正法研究;许珉等;《电力系统保护与控制》;20100716;第38卷(第14期);全文 *
应用FFT进行电力系统谐波分析的改进算法;庞浩等;《中国电机工程学报》;20030630;第23卷(第6期);全文 *

Also Published As

Publication number Publication date
CN104914306A (en) 2015-09-16

Similar Documents

Publication Publication Date Title
CN102435844B (en) Sinusoidal signal phasor calculating method being independent of frequency
CN103399203B (en) A kind of High-precision harmonic parameter estimation method based on composite iterative algorithm
CN105137180B (en) High-precision harmonic analysis method based on six four spectral line interpolations of Cosine Window
CN104597321B (en) Signal frequency measuring method and device based on four discrete fourier plural number spectral lines
CN101806832A (en) Measuring method for frequencies of low-frequency signals
CN103353550A (en) Method for measuring signal frequency and harmonic parameters of electric power system
CN103197141A (en) Method of measuring electrical power system signal frequency and harmonic wave parameters
CN103235180A (en) Inter-harmonics measuring method for power grid
CN103399204A (en) Rife-Vincent (II) window interpolation FFT (Fast Fourier Transform)-based harmonic and inter-harmonic detection method
CN103575984A (en) Harmonic analysis method based on Kaiser window double-spectral-line interpolation FFT
CN107271774B (en) A kind of APF harmonic detecting method based on spectrum leakage correcting algorithm
CN109828163A (en) A kind of three-phase imbalance detection method for power grid
CN105486921A (en) Kaiser third-order mutual convolution window triple-spectrum-line interpolation harmonic wave and inter-harmonic wave detection method
CN105372492B (en) Signal frequency measuring method based on three DFT plural number spectral lines
CN105911341A (en) Method for measuring harmonic reactive power
CN108896944B (en) Laboratory calibrator of synchronous measuring device and synchronous phasor measuring method thereof
CN104914308B (en) A kind of signal phase measuring method based on two DFT plural number spectral lines
Li et al. Frequency estimation based on modulation FFT and MUSIC algorithm
CN104931777B (en) A kind of signal frequency measuring method based on two DFT plural number spectral lines
CN103795411A (en) SFDR testing method based on five-maximum-sidelobe-damping-window three-spectral-line interpolation
CN103543331B (en) A kind of method calculating electric signal harmonic wave and m-Acetyl chlorophosphonazo
CN104914306B (en) A kind of signal amplitude measuring method based on the plural spectral lines of two DFT
CN107167658B (en) A kind of jamproof electric system fundamental frequency of high-precision and Method for Phase Difference Measurement
CN103245830A (en) Inter-harmonic detection method combining AR spectrum estimation and non-linear optimization
CN109541304A (en) The weak amplitude harmonic detecting method of power grid high order based on six minimum secondary lobe window interpolation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161216

Address after: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant after: Xuji Group Co., Ltd.

Applicant after: Henan Xuji Instrument Co., Ltd.

Applicant after: State Power Networks Co

Applicant after: Electric Power Research Institute of State Grid Liaoning Electric Power Co., Ltd.

Address before: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant before: Xuji Group Co., Ltd.

Applicant before: Henan Xuji Instrument Co., Ltd.

Applicant before: State Power Networks Co

Applicant before: State Grid Liaoning Electric Power Co., Ltd.

GR01 Patent grant
GR01 Patent grant