CN104569586A - High-precision phase difference measuring method based on CRIO platform - Google Patents

High-precision phase difference measuring method based on CRIO platform Download PDF

Info

Publication number
CN104569586A
CN104569586A CN201410672339.6A CN201410672339A CN104569586A CN 104569586 A CN104569586 A CN 104569586A CN 201410672339 A CN201410672339 A CN 201410672339A CN 104569586 A CN104569586 A CN 104569586A
Authority
CN
China
Prior art keywords
signal
phase
frequency
frequency spectrum
blackman
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
CN201410672339.6A
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.)
ANHUI GUODIANJINGRUN ELECTRIC TECHNOLOGY Co Ltd
Original Assignee
ANHUI GUODIANJINGRUN ELECTRIC TECHNOLOGY 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 ANHUI GUODIANJINGRUN ELECTRIC TECHNOLOGY Co Ltd filed Critical ANHUI GUODIANJINGRUN ELECTRIC TECHNOLOGY Co Ltd
Priority to CN201410672339.6A priority Critical patent/CN104569586A/en
Publication of CN104569586A publication Critical patent/CN104569586A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Phase Differences (AREA)

Abstract

The invention discloses a high-precision phase difference measuring method based on a CRIO platform. For the method, a four-order Blackman-Harris window is selected to truncate a signal in a data analysis module, so that the frequency spectrum leakage is inhibited better, and the frequency spectrum discretization causes lower frequency resolution; a specific value correction method is introduced to correct the frequency spectrum to improve the frequency resolution; when a signal contains harmonic wave, the window function frequency spectrum energy of the selected our-order Blackman-Harris window is centralized into a main lobe; the interval between a fundamental wave and any harmonic component frequency in the signal is far greater than the width of the window function frequency spectrum main lobe, and the lowest frequency is far greater than a half of the main lobe width, so that the influence of the harmonic component and negative frequency component of the fundamental wave on the fundamental wave is extremely small, and can be ignored. According to the invention, the implementation is simple, the calculated amount is smaller, the precision is high, and higher harmonic and noise can be better inhibited.

Description

A kind of difference of the high-precision phase position based on CRIO platform meter method
Technical field
The present invention is a kind of high-precision phase position based on CRIO platform difference meter method.
Background technology
Compact RIO is a reconfigurable embedded Control and acquisition system, comprise built-in embedded controller, FPGA able to programme and small-sized, firm and hot swappable industry I/O module, help scientific research personnel to realize the self-definition design of measurement and control system, prototype and issue fast.In addition, it is by NI Lab VIEW figureshape programming tool accepts programming, utilizes the I/O function that Lab VIEW FPGA is basic, and user directly can access the imput output circuit of each I/O module of Compact RIO hardware.All I/O modules all comprise built-in interface (as bolt terminal, BNC or DSUB connector), signal condition, change-over circuit (as ADC or DAC), and the Isolated Shield that can match.This design makes the framework of low cost have opening, and user can have access to the hardware resource of bottom.Exactly because good antijamming capability, firm structure and stable performance, Compact RIO platform is widely used in engineering measurement and control area.
In electrical engineering application, have a lot of aspect to need to measure the phase differential relation with frequently between alternating voltage, current signal, and the measurement of phase differential is different from the measurement of traditional voltage, current signal or thing position, Temperature Quantity.First, phase signal depends in voltage, current signal, how to reject voltage, electric current, the impact of frequency change on phase difference measurement be an aspect very important in phase difference measurement; Secondly, phase differential is a comparative quantity, and the phase differential measured between two paths of signals not only needs to ensure that the frequency of two paths of signals is identical, and it is inconsistent and on measuring the impact caused to get rid of the other factors such as amplitude, harmonic wave, noise due to two paths of signals.
Propose the method for multiple phase difference measurement in recent years, be mainly divided into two kinds: the hard ware measure based on hardware circuit and the software measurement method based on alternating data acquisition process.Based in the measuring system of virtual instrument, nearly all function can realize by the method for software, conventional process side method masterhave: zero-crossing method, correlation method, Spectral Analysis Method etc.Zero crossing ratio juris is: determine two moment being all the homogenous frequency signal zero crossing of downtrending (or ascendant trend) respectively, calculate its mistiming, then calculate phase differential according to the time.Correlation method utilizes two with frequency sinusoidal signal at time delay τ = 0time the cross-correlation function value principle that is directly proportional to the cosine value of its phase differential obtain phase differential.FFT Spectral Analysis Method asks phase differential, namely carries out spectrum analysis by discrete Fourier method to detected signal, thus obtains the phase-frequency characteristic of signal, then calculates the phase difference value of two signals at predominant frequency place.
In order to the measuring accuracy of these three kinds of algorithms most in use of com-parison and analysis, above-mentioned three kinds of algorithms are used following two signals to be carried out to the l-G simulation test of measurement two signal phase difference respectively:
x 1 ( t ) = Σ k = 1 p A k cos ( 2 πk f k t + α k ) + e 1 ( t ) - - - ( 1 )
x 2 ( t ) = Σ k = 1 p B k cos ( 2 πk f k t + β k ) + e 2 ( t ) - - - ( 2 )
If signal fundamental frequency f 1=50Hz, two signal phase differences are 30 °.The each harmonic parameter of two signals in formula as table 1shown in:
Form 1 liang of signal harmonic parameter
Ignore the quantization error in data acquisition and other errors, if the sample frequency of data acquisition system (DAS) is 5000Hz, consider in the ideal case, conventional several algorithm measurement precision of phase differential of asking are all very high, therefore be not discussed at this, l-G simulation test mainly carries out in following 4 kinds of situations:
1) interference of harmonic wave is only considered;
2) consider the interference of noise and harmonic wave, adding in realistic model in harmonic wave situation whitely has noise to carry out test simulation again, and Signal-to-Noise is 60db;
3) consider the interference of harmonic wave and the fluctuation of frequency, signalization frequency jitter is to 50.3Hz;
4) consider harmonic wave and the interference of noise and the fluctuation of frequency, signal frequency fluctuates 50.3Hz, and Signal-to-Noise is 60db.
In above 4 kinds of situations, use zero-crossing method, correlation method respectively, FFT spectrum analysis test, the simulation result of algorithms of different measure phase difference as following table instituteshow, wherein
Phase difference measurement simulation result under form 2 algorithms of different
Can find out zero-crossing method and correlation method by harmonic influence very greatly by simulation result, precision is all lower; Simple FFT spectral analysis algorithm, can also keep higher precision when having harmonic wave and noise, but when frequency generation fluctuation causes non-integer-period sampled, measuring error just raises rapidly.
Because DFT algorithm requires very high to synchronized sampling, otherwise the spectral leakage of time domain brachymemma introducing and fence effect can make frequency analysis occur error.Domestic conventional windowed interpolation DFT algorithm is all by using different window functions and interpolation algorithm to revise the spectral line after DFT conversion, arithmetic accuracy can be improved to a certain extent, conventional window has Hanning window, Hamming, Blackman window, Blackman-Harris window, but there are following 2 deficiencies in it:
(1) the window function side lobe performance of signal brachymemma use is poor, effectively can not overcome spectral leakage;
(2) Discrete spectrum causes frequency resolution lower.
Summary of the invention
The present invention for the technical matters that solves for providing a kind of high-precision phase position based on CRIO platform difference meter method, solve problems of the prior art, it effectively can measure the phase differential of two-way voltage or current signal, its data analysis module can solve spectral leakage that the brachymemma of DFT algorithm time domain introduces and fence effect and spectrum analysis can be made to occur improving compared with the technical matters of big error and its 2 deficiencies that interpolation method exists: the window function side lobe performance that (1) signal brachymemma uses is poor, effectively can not overcome spectral leakage; (2) Discrete spectrum causes frequency resolution lower.
Technical solution problem of the present invention adopts following technical scheme:
Based on a high-precision phase position difference meter method for CRIO platform, the technical scheme following steps that it adopts:
The first step, data acquisition module comprises digital data acquisition module and analogue collection module, can gather voltage (electric current) signal and the digital quantity being converted to certain format also can gather SV message, FT in digital transformer substation 3message.
Second step, the digital quantity of the set form that data collecting module collected is uploaded by data resolution module or SV message, FT 3packet parsing is can for data analysis module digital quantity signal directly.
3rd step, the data analysis that data analysis module is uploaded data resolution module.Concrete point of following three aspects.
(1) use 4 rank Blackman-Harris window weightings to the digital quantity signal received, 4 rank B-H windows are defined as 4 reconvolutions of B-H window, can obtain its time-domain expression as follows:
w 4B-H(n)=w B-H(n)*w B-H(n)*w B-H(n)*w B-H(n) (1)
Wherein w B - H ( n ) = a 0 - a 1 cos 2 πn N + a 2 cos 4 nπ N - a 3 cos 6 nπ N , a 0=0.35875,a 1=0.48829,a 2=0.14128,a 3=0.01168。According to the 4 rank Blackman-Harris windows that formula (1) structure length is N, to signal x (n) windowing, obtain burst x ' (n) after windowing=x (n) w 4B-H(n);
(2) FFT frequency spectrum calculates;
If be respectively x (t), y (t) for two periodic signals of measure phase difference, for the sake of simplicity, first do not consider the harmonic component in signal, namely suppose that they are unifrequency periodic signal.Suppose that two signals obtained by Data Analysis link can be expressed as simultaneously
In formula: T is signal x 1and x 2cycle; A 1m, A 2mbe respectively x 1, x 2amplitude; be respectively x 1, x 2initial phase; T sfor sampling interval.
Make X 1k the real part of () is Re [X 1(k)], imaginary part is Im [X 1(k)], then by the X obtained that samples 1k (), shared by the fundamental frequency in real system, component is maximum, and the amplitude of corresponding frequency spectrum is also maximum, therefore can search the sequence number k corresponding to maximum spectral line in frequency spectrum m, obtaining frequency spectrum shared by first-harmonic is X 1(k m), its amplitude is A (k m).
Then can ask and obtain first phase and be:
In like manner, another road signal X can be calculated 2k the first phase of () is:
Survey phase differential and be:
(3) utilize ratiometric correction method to carry out phase correction, search kth mtwo spectral lines about root spectral line, obtaining its amplitude is A (k m-1) and A (k m+ 1), then correction coefficient is Δ k:
&Delta;k = 2 A ( k - 1 ) - A ( k ) A ( k - 1 ) + A ( k ) , A ( k - 1 ) A ( k + 1 ) > 1 - 2 A ( k + 1 ) - A ( k ) A ( k + 1 ) + A ( k ) , A ( k - 1 ) A ( k + 1 ) < 1 - - - ( 4 )
The corrected value that can solve each signal parameter according to correction coefficient is: phase correction amount fundamental phase after then correcting x can be calculated after the same method 2fundamental phase k () is calibrated after
Two signal phase differences that finally can record through the correction of ratio revised law are:
Beneficial effect of the present invention is as follows:
4 rank Blackman-Harris windows are selected to carry out brachymemma process to signal in data analysis module of the present invention, the frequency domain distribution feature of 4 rank Blackman-Harris windows is a further reduction sidelobe level, and along with the increase of window exponent number, the rate of decay of secondary lobe increases, better inhibit spectrum leakage, Discrete spectrum causes frequency resolution lower, and introduces ratiometric correction method and correct to improve frequency resolution to frequency spectrum.The present invention is because haveing nothing to do with signal frequency in theory when carrying out phase difference measurements, therefore without the need to tracking measurement signal frequency and integer-period sampled to signal, impact by signal frequency jitter is less, effectively can make up FFT when power system frequency fluctuates among a small circle due to spectrum leakage that non-synchronous sampling causes and bring the measuring error of phase place.When containing harmonic wave in signal, the 4 rank Blackman-Harris window window function spectrum energies selected concentrate in main lobe, in signal, first-harmonic and the spaced far arbitrarily between frequencies of harmonic components are greater than the width of this window function frequency spectrum main lobe, low-limit frequency is much larger than the half of main lobe width, then first-harmonic is minimum, negligible by the impact of harmonic components and the negative frequency components of himself.The present invention realizes simply,
Calculated amount is less, and precision is high, has stronger rejection ability to higher hamonic wave and noise.
Accompanying drawing explanation
figure1 is phasometer theory structure figure.
figure2 (a) is time domain waveform in data analysis figure;
figure2 (b) is data analysis frequency domain waveform figure.
figure3 (a) is phase difference measurement relative error error statistics when adding Blackman-Harris window in data analysis figure;
figure3 (b) is phase difference measurement relative error error statistics when adding 4 rank Blackman-Harris window in data analysis figure;
figure3 (c) is phase difference measurement relative error statistics when adding 4 rank Blackman-Harris windows in data analysis and revise figure.
figure4 is phase difference measurement relative error statistics when adding 4 rank Blackman-Harris windows under white noise interference and revise figure.
Embodiment
The technological means realized to make the present invention, character of innovation, reach object and effect is easy to understand, below in conjunction with specifically figureshow, set forth the present invention further.
The present invention is gathered to measured signal by its data acquisition module, data resolution module receives the signal of data collecting module collected, and resolve to and can directly carry out for data analysis module the digital quantity signal analyzed, analyze finally by data analysis module, its data analysis module carries out truncation by structure 4 rank Blackman-Harris window to through discrete sample signals, and FFT spectrum analysis is carried out to the signal after windowing, extract first-harmonic parameter, calculate the initial phase angle of measured signal respectively, then the phase place at the useful frequency spectrum place of Discrete Spectrum Correcting Method correction is utilized, thus calculate phase differential.
Data analysis module of the present invention introduces one of knowing clearly novelwindow function---4Blackman-Harris, 4 rank Blackman-Harris windows improve the rejection ability of spectral leakage and use discrete spectrum alignment technique to correct accurately spectral line and improve frequency resolution, on this basis, this invention can realize the high-acruracy survey of phase differential.The specific implementation method of the method is as follows:
If be respectively x (t) for two periodic signals of measure phase difference, y (t), for the sake of simplicity, does not first consider the harmonic component in signal, namely suppose that they are unifrequency periodic signal, suppose that two signals obtained by data acquisition link can be expressed as simultaneously
In formula: T is signal x 1and x 2cycle; A 1m, A 2mbe respectively x 1, x 2amplitude; be respectively x 1, x 2initial phase; T sfor sampling interval.
The first step, use 4 rank Blackman-Harris window weightings, 4 rank B-H windows are defined as 4 reconvolutions of B-H window, can obtain its time-domain expression as follows:
w 4B-H(n)=w B-H(n)*w B-H(n)*w B-H(n)*w B-H(n) (1)
Wherein w B - H ( n ) = a 0 - a 1 cos 2 &pi;n N + a 2 cos 4 n&pi; N - a 3 cos 6 n&pi; N , a 0=0.35875,a 1=0.48829,a 2=0.14128,a 3=0.01168。According to the 4 rank Blackman-Harris windows that formula (1) structure length is N, to signal x (n) windowing, obtain burst x ' (n) after windowing=x (n) w 4B-H(n);
Second step, FFT frequency spectrum calculates;
To the sequence x obtained 1' (n) carries out FFT computing, directly calculates the first phase of first-harmonic, thus calculates the phase differential of two signals, and computation process is as follows:
X 1 ( k ) = &Sigma; n = 0 N - 1 x 1 &prime; ( n ) W N kn = &Sigma; n = 0 N - 1 x 1 &prime; ( n ) [ cos ( 2 &pi;nk / N ) - j sin ( 2 &pi;nk / N ) ] , k = 0,1 , . . . N - 1 - - - ( 2 )
In formula, represent twiddle factor; N is sampling number; N is the n-th sampled point; K is overtone order, selects first-harmonic here, i.e. k=1.
Formula (2) is DFT algorithm, directly calculates by this, and its operand is N 2secondary taking advantage of again is added with N (N-1) is secondary.When N is very large, operand is just suitable large, adopts fast fourier algorithm (FFT) for this reason, utilizes the inherent symmetry and periodically of the butterfly-type factor, the DFT of long sequence is decomposed into the DFT of short data records, to accelerate arithmetic speed.The design adopts decimation in time (DIT) fft algorithm.Its principle is as follows:
X 1 ( k ) = &Sigma; n = 0 N / 2 - 1 x 1 &prime; ( 2 n ) W N 2 nk + &Sigma; n = 0 N / 2 - 1 x 1 &prime; ( 2 n + 1 ) W N ( 2 n + 1 ) k = &Sigma; n = 0 N / 2 - 1 x 1 &prime; ( 2 n ) W N / 2 2 nk + W N k &Sigma; n = 0 N / 2 - 1 x 1 &prime; ( 2 n + 1 ) W N / 2 nk - - - ( 3 )
Order Y ( k ) = x 1 &prime; ( 2 n ) W N / 2 2 nk , Z ( k ) = x 1 &prime; ( 2 n + 1 ) W N / 2 2 nk , Then formula (3) is variable is changed to:
X 1 ( k ) = Y ( k ) + W N k Z ( k )
Because the cycle of Y (k) and Z (k) is N/2, then the scope of above formula k is 0 ~ N/2-1, then utilizes when calculating k=N/2 ~ N-1 characteristic, can obtain:
X 1(k+N/2)=Y(k)
Utilize formula (2), (3) calculate the X (k) of k=0 ~ N/2-1 and k=N/2 ~ N-1 respectively.Extract further in the same way, just can obtain the DFT of N/4 point, repeat this extraction process, the butterfly-unit that just can realize base 2-DIT-FFT calculates X (k).
Make X 1k the real part of () is Re [X 1(k)], imaginary part is Im [X 1(k)], then by the X obtained that samples 1k (), shared by the fundamental frequency in real system, component is maximum, and the amplitude of corresponding frequency spectrum is also maximum, therefore can search the sequence number k corresponding to maximum spectral line in frequency spectrum m, obtaining frequency spectrum shared by first-harmonic is X 1(k m), its amplitude is A (k m).
Then can ask and obtain first phase and be:
In like manner, another road signal X can be calculated 2k the first phase of () is:
Survey phase differential and be:
3rd step, utilizes ratiometric correction method to carry out phase correction, searches kth mtwo spectral lines about root spectral line, obtaining its amplitude is A (k m-1) and A (k m+ 1), then correction coefficient is Δ k:
&Delta;k = 2 A ( k - 1 ) - A ( k ) A ( k - 1 ) + A ( k ) , A ( k - 1 ) A ( k + 1 ) > 1 - 2 A ( k + 1 ) - A ( k ) A ( k + 1 ) + A ( k ) , A ( k - 1 ) A ( k + 1 ) < 1 - - - ( 6 )
The corrected value that can solve each signal parameter according to correction coefficient is: phase correction amount fundamental phase after then correcting x can be calculated after the same method 2fundamental phase k () is calibrated after
Two signal phase differences that finally can record through the correction of ratio revised law are:
Adopt the data analysis module in this phasometer to carry out measurement two signal to following two signals below and carry out a series of emulation experiment:
x 1 ( t ) = &Sigma; k = 1 p A k cos ( 2 &pi;k f k t + &alpha; k ) + e 1 ( t ) - - - ( 10 )
x 2 ( t ) = &Sigma; k = 1 p B k cos ( 2 &pi;k f k t + &beta; k ) + e 2 ( t ) - - - ( 11 )
If signal fundamental frequency f 1=50Hz, two signal phase differences are 30 °, each harmonic parameter of two signals in formula as table 1shown in:
Form 1 liang of signal harmonic parameter
Experiment one, is first constructed the 4 rank Blackman-Harris windows of length N=64, does simulation comparison, construct the Hanning window of same length, Hamming, Blackman window, Blackman-Harris window, each window normalization time domain waveform by formula (1) figurewith normalization frequency-domain waveform respectively as figure2 (a) and figureshown in 2 (b).
From figurein can find out, although Blackman-Harris window adds main lobe bandwidth (being 12 π/N) compared to other windows, the resolution of spectral line is caused to decline to some extent, but its sidelobe level is also low than other windows, and side lobe attenuation slope is also steeper, thus, Blackman-Harris window is revealed suppressed sidelobes can play better effect, and the frequency domain distribution feature of 4 rank Blackman-Harris windows is a further reduction sidelobe level, and along with the increase of window exponent number, the rate of decay of secondary lobe increases, and better inhibits spectrum leakage.
Experiment two, the emulation of the data sampling asynchronous that frequency jitter causes.Utilize under identical same sample add Blackman-Harris window DFT, add 4 rank Blackman-Harris window DFT and introduction ratiometric correction algorithm in this paper add 4 rank Blackman-Harris (B-H) window fft algorithms, obtain two signal phase difference measurements relative errors respectively as figure3 (a), figure3 (b) and figureshown in 3 (c);
Can find out, in the humorous wave interference of consideration, do not have ideally noisy, time integer-period sampled, error is all 0.This is because integer-period sampled time, add Blackman-Harris window and improve window 4 rank Blackman-Harris window time, each harmonic frequency spectrum on first-harmonic without impact.Non-integer-period sampled, influence from harmonic error increases, and at this moment adds different windows, different to the inhibition of harmonic wave.When frequency fluctuates in the scope of 49.5Hz ~ 50.5Hz, Blackman-Harris window phase differential maximum error absolute value is 5.47519e-5rad, 4 rank Blackman-Harris window phase differential maximum error absolute values are 5.0968048e-7rad, the use ratiometric correction algorithm proposed in this method to add 4 rank Blackman-Harris (B-H) window fft algorithm maximum error absolute values be 3.967801e-7rad, and what use ratiometric correction method adds 4 rank Blackman-Harris (B-H) window fft algorithms when frequency jitter scope is less, maximum error absolute value is 9.64454e-8rad, the DFT algorithm comparing direct windowing 4 rank Blackman-Harris window improves an order of magnitude.
Experiment three, the state lower frequency having white noise to disturb fluctuates the emulation of the data sampling asynchronous caused.In actual measurement, the interference of harmonic wave and random noise are inevitable, and adding in realistic model under considering harmonic wave situation whitely has noise to carry out test simulation again.Signal fundamental frequency 50.3Hz in emulation experiment, select fixed sampling frequency 5000Hz, input signal signal to noise ratio (S/N ratio) change between 30dB ~ 140dB use respectively add introduction ratiometric correction algorithm that 4 rank Blackman-Harris window DFT and this method propose add 4 rank Blackman-Harris (B-H) window fft algorithms, complete the phase differential absolute error that emulation experiment obtains when there is white noise as figureshown in 4.
By figure4 can find out when there is white noise when signal to noise ratio (S/N ratio) is less than 80dB, and after adopting the correction of ratiometric correction algorithm, phase differential is definitely better than primal algorithm to error; When signal to noise ratio (S/N ratio) is greater than 80dB, the phase differential absolute error of innovatory algorithm is slightly better than primal algorithm.When noise is larger, this method phase difference measurement error still can remain on 0.005 ° (0.00015rad) below, higher than primal algorithm; When signal to noise ratio (S/N ratio) is less, measuring error significantly drops to 10-7 (rad) order of magnitude, can the impact of effectively harmonic inhabitation and noise, meets engineer applied actual requirement.
More than show and describe ultimate principle of the present invention, principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; what describe in above-described embodiment and instructions just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.Application claims protection domain is defined by appending claims and equivalent thereof.

Claims (1)

1., based on a high-precision phase position difference meter method for CRIO platform, it is characterized in that: its technical scheme adopted comprises the steps:
The first step, data acquisition module comprises digital data acquisition module and analogue collection module, can gather voltage (electric current) signal and the digital quantity being converted to certain format also can gather SV message, FT in digital transformer substation 3message;
Second step, the digital quantity of the set form that data collecting module collected is uploaded by data resolution module or SV message, FT 3packet parsing is can for data analysis module digital quantity signal directly.
3rd step, the data analysis that data analysis module is uploaded data resolution module.Concrete point of following three aspects;
(1) use 4 rank Blackman-Harris window weightings to the digital quantity signal received, 4 rank B-H windows are defined as 4 reconvolutions of B-H window, can obtain its time-domain expression as follows:
w 4B-H(n)=w B-H(n)*w B-H(n)*w B-H(n)*w B-H(n) (1)
Wherein a 0=0.35875, a 1=0.48829, a 2=0.14128, a 3=0.01168.According to the 4 rank Blackman-Harris windows that formula (1) structure length is N, to signal x (n) windowing, obtain burst x ' (n) after windowing=x (n) w 4B-H(n);
(2) FFT frequency spectrum calculates;
If be respectively x (t), y (t) for two periodic signals of measure phase difference, for the sake of simplicity, first do not consider the harmonic component in signal, namely suppose that they are unifrequency periodic signal.Suppose that two signals obtained by Data Analysis link can be expressed as simultaneously
In formula: T is signal x 1and x 2cycle; A 1m, A 2mbe respectively x 1, x 2amplitude; be respectively x 1, x 2initial phase; T sfor sampling interval;
Make X 1k the real part of () is Re [X 1(k)], imaginary part is Im [X 1(k)], then by the X obtained that samples 1k (), shared by the fundamental frequency in real system, component is maximum, and the amplitude of corresponding frequency spectrum is also maximum, therefore can search the sequence number k corresponding to maximum spectral line in frequency spectrum m, obtaining frequency spectrum shared by first-harmonic is X 1(k m), its amplitude is A (k m).
Then can ask and obtain first phase and be:
In like manner, another road signal X can be calculated 2k the first phase of () is:
Survey phase differential and be:
(3) utilize ratiometric correction method to carry out phase correction, search kth mtwo spectral lines about root spectral line, obtaining its amplitude is A (k m-1) and A (k m+ 1), then correction coefficient is Δ k:
The corrected value that can solve each signal parameter according to correction coefficient is: phase correction amount fundamental phase after then correcting x can be calculated after the same method 2fundamental phase k () is calibrated after
Two signal phase differences that finally can record through the correction of ratio revised law are:
CN201410672339.6A 2014-11-22 2014-11-22 High-precision phase difference measuring method based on CRIO platform Pending CN104569586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410672339.6A CN104569586A (en) 2014-11-22 2014-11-22 High-precision phase difference measuring method based on CRIO platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410672339.6A CN104569586A (en) 2014-11-22 2014-11-22 High-precision phase difference measuring method based on CRIO platform

Publications (1)

Publication Number Publication Date
CN104569586A true CN104569586A (en) 2015-04-29

Family

ID=53086123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410672339.6A Pending CN104569586A (en) 2014-11-22 2014-11-22 High-precision phase difference measuring method based on CRIO platform

Country Status (1)

Country Link
CN (1) CN104569586A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108918965A (en) * 2018-05-23 2018-11-30 成都玖锦科技有限公司 Multi channel signals phase, amplitude high-precision measuring method
CN110133564A (en) * 2019-06-02 2019-08-16 国网江西省电力有限公司电力科学研究院 A kind of synchronous detecting method and device of current sensor phase characteristic

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5560866A (en) * 1978-10-31 1980-05-08 Mitsubishi Electric Corp Higher harmonic phase detector
CN1996986A (en) * 2006-11-16 2007-07-11 天津大学 Full phase time shift phase difference spectrum correction method
CN101136893A (en) * 2007-10-10 2008-03-05 天津大学 Whole phase FFT based universal demodulation 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
CN103454497A (en) * 2013-09-10 2013-12-18 南京理工大学 Phase difference measuring method based on improved windowing discrete Fourier transform
CN103454490A (en) * 2012-05-28 2013-12-18 湖南省电力公司科学研究院 Intelligent metering system and intelligent metering method on basis of Blackman-harris window spectrum correction
CN103995799A (en) * 2014-06-10 2014-08-20 天津大学 Frequency phase brain-computer interface decoding method and device based on FFT spectrum correction

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5560866A (en) * 1978-10-31 1980-05-08 Mitsubishi Electric Corp Higher harmonic phase detector
CN1996986A (en) * 2006-11-16 2007-07-11 天津大学 Full phase time shift phase difference spectrum correction method
CN101136893A (en) * 2007-10-10 2008-03-05 天津大学 Whole phase FFT based universal demodulation 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
CN103454490A (en) * 2012-05-28 2013-12-18 湖南省电力公司科学研究院 Intelligent metering system and intelligent metering method on basis of Blackman-harris window spectrum correction
CN103454497A (en) * 2013-09-10 2013-12-18 南京理工大学 Phase difference measuring method based on improved windowing discrete Fourier transform
CN103995799A (en) * 2014-06-10 2014-08-20 天津大学 Frequency phase brain-computer interface decoding method and device based on FFT spectrum correction

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108918965A (en) * 2018-05-23 2018-11-30 成都玖锦科技有限公司 Multi channel signals phase, amplitude high-precision measuring method
CN110133564A (en) * 2019-06-02 2019-08-16 国网江西省电力有限公司电力科学研究院 A kind of synchronous detecting method and device of current sensor phase characteristic
CN110133564B (en) * 2019-06-02 2021-04-09 国网江西省电力有限公司电力科学研究院 Synchronous testing method and device for phase characteristics of current sensor

Similar Documents

Publication Publication Date Title
CN103454497B (en) Based on the method for measuring phase difference improving windowed DFT
CN103308804B (en) Based on quick K-S converting electric power quality disturbance signal time and frequency parameter extracting method
CN103869162B (en) Dynamic signal phasor measurement method based on time domain quasi-synchronization
CN101603985B (en) Method for measuring sine signal with high accuracy
CN101701984B (en) Fundamental wave and harmonic wave detecting method based on three-coefficient Nuttall windowed interpolation FFT
Tomic et al. A new power system digital harmonic analyzer
CN102288807B (en) Method for measuring electric network voltage flicker
CN103308766A (en) Harmonic analysis method based on Kaiser self-convolution window dual-spectrum line interpolation FFT (Fast Fourier Transform) and device thereof
CN102435844A (en) Sinusoidal signal phasor calculating method being independent of frequency
CN101915874A (en) Harmonic wave detection method based on Fourier transformation
CN109946512B (en) A kind of dynamic power analysis method for improving frequency domain interpolation
CN101566649A (en) Harmonic detection method in a power system
CN109633262A (en) Three phase harmonic electric energy gauging method, device based on composite window multiline FFT
CN103995178A (en) Voltage sag detection method for S-transformation on basis of time-frequency gathering characteristic criteria
CN103575984A (en) Harmonic analysis method based on Kaiser window double-spectral-line interpolation FFT
CN103760425A (en) Method and device for rapidly measuring dielectric loss angle based on time domain quasi-synchronization
CN102955068B (en) A kind of harmonic detecting method based on compression sampling orthogonal matching pursuit
CN110133564B (en) Synchronous testing method and device for phase characteristics of current sensor
CN101900761B (en) High-accuracy non-integer-period sampled harmonic analysis and measurement method
CN103941088A (en) Method for quickly measuring frequency of electric power system based on three-phase signals
CN103983849A (en) Real-time high-accuracy power harmonic analysis method
CN105487034A (en) 0.05-level electronic transformer verification method and system
CN103941090A (en) Harmonic wave measurement method based on spectral energy interpolation
CN105353330A (en) On-line verifying system and algorithm for electronic current transformer based on virtual instrument technology
CN103969508A (en) Real-time high-precision power harmonic analysis method and device

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: 20150429