Recursive DFT
Recursive DFT
*Dept. of Systems Management and Engineering, **Electric Power Research & Development Center
Nagoya Institute of Technology, Chubu Electric Power Co.,Inc
Gokiso-cho, Showa-ku, Nagoya, 466-8555, JAPAN 20-1, Kitasekiyama, Ohdaka-cho,
Phone & Fax: +81-52-734-5428 Midori-ku, Nagoya, 459-8522, JAPAN
E-mail: katsu@franklin.elcom.nitech.ac.jp
Abstract :We have developed the high- tems. The calculation algorithm of the volt-
speed and high precision PMU(Phasor Meas- age/current phasor in the PMU is based on the
urement Unit) by using DSP(Digital Signal recursive DFT(Discrete Fourier Transform). How-
Processor) and the GPS(Global Positioning ever, in the case when frequency of power sys-
System). The developed PMU enables to cal- tems is fluctuating and different from the funda-
culate the voltage and current phasors and the mental frequency of DFT algorithm, the calculated
other state variables in electric power sys- r.m.s. value and phase angle have the detection
tems from the measured instantaneous volt- error due to the deviation of frequency[6][7].
age and current in real-time. In this paper, our The purpose of this paper is to propose a new
purpose is to propose a new detection method detection method of the frequency and the phasor
of frequency in the power systems based on in the power systems by analyzing the error con-
error analysis of the recursive DFT algorithm tained in the voltage phasor due to the deviation of
used in the PMU. This method enable s to frequency.
detect frequency with fine accurate and high- Firstly, assumed the deviation of frequency, the
speed. error equation of voltage phasor on the basis of the
recursive DFT algorithm is derived. Since both the
Keywords : frequency detection, recursive DFT, phase and the magnitude components of this equa-
phasor measurement unit, error analysis tion contain oscillatory error, the running average
filter is applied in order to remove the error. Then
the deviation of frequency is recursively deduced
1 INTRODUCTION from the filtered voltage phasor. Secondly, since
the voltage phasor, which the filter is applied to, has
Frequency is one of the most important state the off-set error caused by deviation of frequency
variables in power systems. It is typically measured and the phase delay due to the filter, this off-set
by detecting the zero-crossing period of the voltage error and phase delay is compensated by applying
wave. However, since power electronics technol- the detected deviation of frequency. On the other
ogy is increasingly applied in the power systems, it hand, it is made clear that the error equation which
is required to detect more precisely and faster in dose not contain oscillatory error is deduced by
the presence of harmonics and noise. using the positive-phase-sequence component
On the other hand, applications of digital signal transformed by the method of symmetrical coordi-
processing technology to the power systems have nates in the case of three phase balanced voltage.
received a great deal of attention in recent years. Finally, the numerical simulation results are shown
There have been many digital algorithm applied to to confirm the effectiveness of the proposed
calculate frequency and phasor[1][2][3][4][5]. In method compared with the zero-cross detection
those, in particular, the PMU is widely applied in method[8]. In particular, the proposed method has
order to detect both r.m.s. value and phase angle of robustness in the case when the voltage wave con-
voltage/current at multi points in the power sys- tains harmonics.
14th PSCC, Sevilla, 24-28 June 2002 Session 01, Paper 5, Page 2
1.2 1.2
0.9 1.0
Magnitude
0.6 0.8
Gain
0.3 0.6
0.0 0.4
0.2
-0.3
0 60 120 180 240 300 360 0.0
0 60 120 180 240 300 360
Frequency [Hz]
Frequency [Hz]
A B
2π∆f B
where,
Kf ;phase delay due to the filter. 2.5 Balanced Three-Phase Voltage Case
For the case of three-phase voltage, the phasor
The deviation of frequency is deduced from the can be detected by the positive-sequence compo-
difference of the sequential phase angle of Eq. (8) nent voltage. In the case of balanced three-phase
as follows; voltage, the phasor equation is obtained as follows:
2 2
( αr + K f ) − ( α r − 1 + K f ) r 1 r j π r −j π r
∆f r = = ∆f (9) X pr = ( Xa r + e 3 Xbr + e 3 X cr )
2πTS 3
( Ae jα r + Βe jβ r )
2
π −
2
π
2
π
2.4 High Precision Phasor Detection =
1 V
+ e
j
3
( Ae
jα r
e
j
3
+ Βe
jβ r
e
j
3
)
From Eq. (8), the r.m.s. value and the phase an- 3 2
−j π 2 2
j π −j π
2
quency is detected without applying the running case when voltage wave contains harmonics, the
average filter. In this case, the off-set error of the detected frequency contains the significant error.
r.m.s. value and the phase angle is also compen- Therefore, in general, the low-pass filter is applied
sated by Eq. (12) and Eq. (13) in the similar man- in order to remove the harmonics[8].
ner as the single phase case. In this paper, two cases of simulations are car-
The flow chart of the proposed frequency detec- ried out in order to compare four kinds of fre-
tion method and compensation method of the r.m.s. quency detection method as follows:
value and the phase angle is shown in Fig. 4(a) for
single-phase case, and in Fig. 4(b) for three-phase Simulation case
case, respectively. 1. Power source without harmonics
2. Power source with 5% fifth order harmonics
3 SIMULATION RESULTS
Frequency detection method
In this section, the effectiveness of the proposed 1. Single-phase zero-cross method
frequency and phasor detection method is con- 2. Three-phase zero-cross method
firmed with numerical simulations. The proposed 3. Proposed single -phase method
method is compared with the zero-cross detection 4. Proposed three-phase method
method.
The zero-cross method is the frequency detec- At any cases, the balanced three-phase voltage
tion method by measuring the time interval between is used, and the frequency of voltage has step
zero crossing points of the instantaneous voltage. change from 60.00 Hz to 60.10 Hz. The number of
The frequency is detected every 180 deg by using sampling N is 24, in other words, sampling fre-
single-phase voltage, and every 60 deg by using quency is 1440 Hz.
three-phase voltage, respectively. However, in the
r
r Xr r
Xr * r
Xr Compensation X r **
vr r.m.s. value Running
Recursive- by
& average r
DFT Eq. (12) & (13)
phase angle filter arg( X r ) * *
r r
arg( X r ) arg( X r *)
Differentiat - ∆f r
ing ∆f r
By Eq. (9)
r r
r X p ,r X p ,r * r
r X p ,r r.m.s. value Running Compensation X p,r * *
va ,r X a ,r
Recursive- & average by
DFT Positive- phase angle filter Eq. (12) & (13)
r phase- r r
vb ,r r
X b ,r sequence arg( X p ,r ) arg( X p ,r *) arg( X p,r ) * *
Recursive-
component
DFT
By Eq. (14)
r
vc ,r X c ,r Differentiat - ∆f r
Recursive- ing ∆fr
DFT By Eq. (9)
60.00Hz 60.10Hz
1.5 Frequency Deviation [Hz] 0.12
1.0
0.08
Voltage [v]
0.5
0.0 0.04
-0.5
0.00
-1.0
-1.5 -0.04
0 17 33 50 67 83 100 117 133 150 0 17 33 50 67 83 100 117 133 150
Time [ms] Time [ms]
va vb vc
input zero1 zero3
(a) Instantaneous voltage (b) Zero-cross method
0.24 0.12
Frequency Deviation [Hz]
Frequency Deviation [Hz]
0.20
0.16 0.08
0.12
0.04
0.08
0.04 0.00
0.00
-0.04 -0.04
0 17 33 50 67 83 100 117 133 150 0 17 33 50 67 83 100 117 133 150
Time [ms] Time [ms]
input without RAF with RAF input without RAF with RAF
0.10 0.10
0.00 0.00
-0.10 -0.10
-0.20 -0.20
-0.30 -0.30
-0.40 -0.40
0 17 33 50 67 83 100 117 133 150 0 17 33 50 67 83 100 117 133 150
Time [ms] Time [ms]
before after before after
60.00Hz 60.10Hz
1.5
1.0
Voltage [v]
0.5
0.0
-0.5
-1.0
-1.5
0 17 33 50 67 83 100 117 133 150
Time [ms]
va vb vc
(a) Instantaneous voltage
0.12 3.00
Frequency Deviation [Hz]
2.00
0.08 1.00
0.00
0.04
-1.00
0.00 -2.00
-3.00
-0.04 -4.00
0 17 33 50 67 83 100 117 133 150 0 17 33 50 67 83 100 117 133 150
Time [ms] Time [ms]
input output input output
0.24 0.16
Frequency Deviation [Hz]
0.20
0.12
0.16
0.12 0.08
0.08 0.04
0.04
0.00
0.00
-0.04 -0.04
0 17 33 50 67 83 100 117 133 150 0 17 33 50 67 83 100 117 133 150
Time [ms] Time [ms]
input without RAF with RAF input without RAF with RAF
0.6
phase angle is compensated by using the detected
0.4
frequency.
0.2
0.0
REFERENCES
0 60 120 180 240 300 360
Frequency [Hz]
[1] A.G.Phadke, J.S.Thorp, ”Improved Control and Pro-
Fig. 8 Frequency response tection of Power Systems Through Synchronized
of low-pass filter Phasor Measurements”, Control and Dynamic Sys-
tems, Advances in Theory and Applications, Vol.43,
60.00Hz 60.10Hz Academic Press, 1991, pp.335-376.
1.5
[2] P.J.Moore, R.D.Carranza, and A.T.Johns, ”Model
1.0
System Tests on a New Newmeric Method of Power
Voltage [v]
0.5
System Frequency Measurement”, IEEE Trans. on
0.0
Power Delivery, Vol.11, No.2, April.1996, pp.696-701.
-0.5
-1.0
[3] J.Z.Yang and C.W.Liu, “A Precise Calculation of
-1.5
Power System Frequency and Phasor”, IEEE Trans.
0 17 33 50 67 83 100 117 133 150 on Power Delivery, Vol.15, No.2, April.2000, pp.494-
Time [ms] 499.
va vb vc
[4] Yutaka Ota, Masatake Kawada, Hiroyuki Ukai, Koich
(a) Instantaneous voltage after filtering Nakamura, Nobuyuki Matsui, Mototaka Sone,
0.12
Frequency Deviation [Hz]