Module 9: Numerical Relaying II: DSP Perspective: Estimation of System Frequency
Module 9: Numerical Relaying II: DSP Perspective: Estimation of System Frequency
We will introduce the concept of DFT leakage, and use it to estimate magnitude and phase angle errors
due to change
in system frequency.
However, during disturbance and even in steady state to a certain extent, the frequency varies. Thus, we
expect the phasor estimation under constant frequency assumption to be erroneous. Under such
situations, how good is our estimate of the phasor? We now plan to answer this question. As a by product
of the analysis, we will also develop a frequency estimation technique which can be used in under
frequency and rate of change of frequency relays. To simplify presentation, the analysis is developed
.
gradually. First, we determine the DFT of complex exponential signal at frequency
) is given by
, sampling speed by
. In the
(2)
Thus,
, is given by
(3)
(4)
Then
(5)
(6)
, N =
12.
Fig 37.1(b) shows the envelope of response for 3 different frequencies 49, 50, 51 Hz. The sampling rate
is fixed at 12 samples per cycle at nominal frequency of 50 Hz. Thus, at 49 Hz, P = 49/50 and for 51Hz
waveform P = 51/50. It is seen from the figure that magnitude response is more or less identical when
Hz.
frequency deviation is within
Finally, fig 37.1(c) shows a set of response when frequency deviation from nominal is large enough i.e.
when
= 40, 50 and 60 Hz. Now it can be seen easily that, if we sample the envelope in fig 37.1(c)
), then the P = 0.8, and gain at 50 Hz is a
(not the time domain signal) of 40 Hz signal at 50 Hz (
finite non-zero value different from unity. This effect is known as DFT leakage. It can be said that the
energy in frequency bin
has leaked into frequency bin
.
Remark 1: As
varies from
Hz waveform.
slides to the left when 'P' reduces below 1 and it slides to the right when
our waveform to be a 50 Hz signal, we always sample the envelope at
. However, if we assume
.
In DSP literature, DFT leakage is considered to be undesirable. It means that we wrongly interpret a 40
or a 60Hz signal as a 50 Hz signal. However, by a little more analysis, we will show that deviation small
enough from nominal frequency can be easily estimated from corresponding phase characteristic of DFT.
This not only allows us to build underfrequency and rate of change of frequency relays but it simplifies
hardware as sampling rate need not follow the system frequency. Consequently, no-zero crossing
detectors are required. From the relaying perspective, it turns out to be a boon in disguise.
As seen in fig 37.1(b), the DFT magnitude leakage for
= -
0.0065. Thus, we conclude that effect of magnitude leakage on estimation of phasor magnitude can be
neglected. However, the phase angle of DFT tells another story. Note that
For
and
Thus,
Thus an error of is
exponential, we get
(7)
Thus,
(8)
With P
1,
and
Estimation of Frequency
Now our aim, is to develop a method of estimating power system frequency using the recursive DFT
approach to phasor estimation. We plan to show that in the moving window approach the phase angle
estimated by recursive DFT approach rotates at a speed proportional to the deviation from the nominal
frequency. In turn, this deviation can be assessed by measuring the rate of change of phase angle.
In the previous section, we have derived the DFT leakage for complex exponential and real cosine signals.
We will now generalize the DFT computation of complex exponential so that it can handle moving window
concept.
Generalized DFT of Complex Exponential
Following the methodology used while generalizing DFT, we can write generalized DFT for
window
(window number corresponds to the sample number of first sample in the window) as:
(10)
where
Substituting,
in (9), we get
where
Summation
we obtain
If m = P, then it is clear that DFT
. Hence, we
can expect obtain stationary DFT in (10) when m = P = 1 i.e. when signal corresponds to fundamental
frequency.
With the knowledge of the generalized DFT of the complex exponential, now we can derive the
generalized DFT expression for real cosine signal.
(13)
Following the similar reasoning as outlined in the previous section of the DFT of real cosine signal, we can
(14)
, then
start rotating along with the window. From, (14) we can derive that
, we deduce that
(15)
is the sampling time interval. Summarizing, if we set sampling frequency for a sinusoidal signal
where
frequency invariant of the actual frequency of sinusoid, then the phasor estimated by moving window
approach rotates at a speed proportional to
. This rotation will be in anti-clockwise direction if
>
0 i.e.
>
< 0 i.e.
<
If we monitor, this phase rotation, then from the proportionality relationship of (15), we can estimate the
frequency '. If
denotes phase-angle, then from (15), we can obtain the rate of change of
as
follows:
(16)
Discussion
There are many advantages associated with the above algorithm. The method is not based on zero
crossing time and it is immune to noise and harmonics. Instead of using single phase quartiles, one can
estimate the positive sequence component and derive frequency from it. Such an approach will use all the
three phase voltages and hence will have better noise rejection properties. At harmonics of nominal
and hence, the above approach will reject frequencies m
completely.
frequency
Measurement of Frequency
To measure
If we assume that frequency computation will be further averaged over four measurements to smoothen
is given by
out noise, then time to compute deviation
Recap
at nominal frequency, then, DFT leakage is zero. This means that there are no magnitude and phase angle
errors in estimation. However, when the system frequency deviates from the nominal (of the order
say), then errors introduced in estimating the amplitude of the signal is negligible. However, now phase
angle errors are not negligible.
It was shown that if the frequency deviates from the nominal value, with constant sampling frequency,
the phasor starts rotating at a speed proportional to it. This can be used for frequency estimation.