Professional Documents
Culture Documents
ABSTRACT
The traditional input data truncating way of spectrum analysis method[3], average method[4] and so on. A novel algorithm of
is improved and all phase FFT (apFFT) spectrum analysis is put high accuracy parameter estimation of sinusoidal signal based on
forward, we propose the realization diagram and analyze that all phase FFT spectrum analysis is put forward in this paper,
amplitude spectrum of all phase is the square of traditional which is better than all algorithms nowadays not only in the
spectrum analysis. The method of apFFT has perfect precision and the real time property, but also in the calculation
characteristic of phase analysis ,The phase isn’t influenced by complexity. The program of software is simple, so it is an ideal
frequency shift through the method of all phase and no need to measurement method. It is almost the perfect estimation in the
be corrected, the error is extremely small between the phase situation of no noise, especially to the phase estimation, the error
analyzed by apFFT and the signal real phase .We propose a new is only 0.001%.
algorithm of sinusoidal signal’s amplitude frequency and phase
estimation based on apFFT phase difference , simulation result 2. ALL PHASE FFT SPECTRUM
and comparable datas prove that the algorithm is more accurate ANALYSIS
and practicable than algorithms in literatures.
Index Terms- all phase spectrum analysis; parameter estimation; A novel algorithm of spectrum estimation is put forward in the
[5]
phase difference; correction literature , which improves the data truncating way of
traditional DFT spectrum analysis and reduces the leakage
1. INTRODUCTION greatly,the block diagram is shown in the bottom of the figure 1.
X’(
i k)is the discrete Fourier transform of X’i(i=0,1,…N-1) and Xi
(k)is the discrete Fourier transform of Xi(i=0,1,…N-1).
2πki
j
' N
X i ( k ) = X i ( k )e (1)
f
Fig. 1. The diagram of traditional FFT spectrum and all phase j 2π 0 ( N − i + n ) 2π 2πki
1 N − 1N − 1 f − j kn j
FFT spectrum analysis = ∑ ∑ e s e N e N
N i = 0n = 0
First, we deduce the amplitude of a signal consisting of a
single frequency f0 .If the signal with single frequency is
f k
2 πf 0 f 0 Sin 2πN ( 0 − )
j n
1 j 2π N fs N
fs
x=e fs
,where f0 is the signal frequency, fs is the sample = e (2)
N 2 f k
frequency.To one sample point x(N) in the time sequence, there Sin π ( 0 − )
fs N
are N vectors of N dimension including this sample point:
T
According to (2),the amplitude of all phase spectrum is as follows
X 0 = [ x ( N ) x ( N + 1) L x (2 N − 1)]
2
T f k
X 1 = [ x ( N − 1) x ( N ) L x (2 N − 2)]
sinπN ( 0 − )
......................... 1 f N
s
, it is the square of traditional DFT
T N f
X N -1 = [ x (1) x (2) L x ( N )] k
sinπ ( 0 − )
f N
Cycle shift every vector, shift the sample x(N) to the first s
position of the sequence and get the other N vectors of N frequency spectrum amplitude, which is benefit to reducing the
dimension: spectrum leakage.
LLLLLLL the real phase of signal can get by all phase FFT spectrum
285
Proceedings of 2007 International Symposium on Intelligent Signal Processing and Communication Systems Nov.28-Dec.1, 2007 Xiamen, China
samples . The first group consists of the last 6 samples among all the frequency resolution is 1Hz,
11 samples, the second group consists of another 6 samples s1(t)=cos(9*2πt/N+50π/180)+cos(19.1*2πt/N+50π/180)+cos(29.2
which left shift 1 value, but -0.1736 should right shift to the first *2πt/N+50π/180)+cos(39.3*2πt/N+50π/180)+cos(49.4*2πt/N+50
position, other groups could be get as the same way. π/180).The result of all phase hanning(N) double window FFT
-0.1736 -0.9903 -0.4384 0.7193 0.8829 -0.1736 spectrum analysis and traditional DFT spectrum analysis are in
-0.1736 -0.9903 -0.4384 0.7193 0.8829 0.8829 figure 2(a)、(b) .If change the signal’s phase and generate the
-0.1736 -0.9903 -0.4384 0.7193 0.7193 0.8829 signal:s2(t)=cos(9*2πt/N+10π/180)+cos(19.1*2πt/N+30π/180)+c
-0.1736 -0.9903 -0.4384 -0.4384 0.7193 0.8829 os(29.2*2πt/N+50π/180)+cos(39.3*2πt/N+70π/180)+cos(49.4*2π
-0.1736 -0.9903 -0.9903 -0.4384 0.7193 0.8829 t/N+90π/180),Using the same analysis methods, the analysis
-0.1736 -0.1736 -0.9903 -0.4384 0.7193 0.8829 result is shown in figure 2(c)、(d).
The phases of the samples of the 6 group of N=6 signals are :
180.0000 132.5107 -25.7699 0 25.7699 -132.5107
286
Proceedings of 2007 International Symposium on Intelligent Signal Processing and Communication Systems Nov.28-Dec.1, 2007 Xiamen, China
Hann and hanning ) FFT spectrum analysis to the sequence difference method and phase difference method in the literature
u1(t),the frequency can be got through the following formula: under the situation of no noise
fs fs amplitude frequency phase
f = k1 ,the frequency resolution F0 = ,where k1 is
N N Ideal value 1.0000000 4.3900000 40.0000000
the serial number of the main spectrum line,d is the coefficient apFFT phase difference 0.9999999 4.3900000 39.9999999
[6]
Method in the literature 0.9988161 4.3868350 40.5486832
of leakage error,the frequency correction is ∆f = dF0 。
5. CONCLUSION
(3)Frequency after signal leakage error correction is:
^ This paper improves the way of input data truncation based on
f = f + ∆f = f + dF0 = (k1 + d ) F0 (3)
the traditional spectrum analysis, and brings forward all phase
spectrum analysis, which has less leakage and high precision
at the same time,we can get phase ϕ1 .
compared to the traditional spectrum analysis. There is no need
(4) Perform N point all phase double window (convolution of to inter-period sample signal strictly .This algorithm can
Hann and hanning ) FFT spectrum analysis to the sequence u2(t), restrain leakage and picket effects of discrete Fourier
transform(DFT) effectively, and no need to do phase correction.
we can get phase ϕ2 .according to the phase difference
The algorithm is simple, and it can be used in many engineering
and has great practical value, such as in the vector measurement
∆ϕ = ϕ2 − ϕ1 = 2π d , we can get the leakage error
of power system automation and the harmonic analysis in the
coefficient d。 sinusoidal alternating current signal, and signal processing in the
(5)Correct frequency、amplitude、phase。Corrected frequency can electronic reconnaissance.
be obtained through (3) when d is known. Let the phase
287