APPARATUS FOR DETERMINATION OF THE FREQUENCY OF AN ELECTRICAL SIGNAL AND ASSOCIATED METHODS

Information

  • Patent Application
  • 20170219640
  • Publication Number
    20170219640
  • Date Filed
    January 20, 2017
    7 years ago
  • Date Published
    August 03, 2017
    7 years ago
Abstract
An apparatus for determining a measure of the frequency of an electrical signal is provided. The apparatus is configured to, based on a plurality of samples of the electrical signal, determine a Hilbert transformation to obtain a value for each of the samples of the electrical signal for use as an imaginary representation of each of the samples of the electrical signal and combine each said imaginary representation with a corresponding real representation of the samples of the electrical signal to form a complex representation of the electrical signal; perform a Fourier transform on each said complex representation of the samples of the electrical signal and determine a phase angle therefrom; and determine a measure of the frequency of the electrical signal based on a derivative of the phase angle with respect to time.
Description
BACKGROUND

Embodiments of the present invention relate to an apparatus configured to determine a measure of the frequency of an electrical signal. Embodiments of the present invention also relate to a power network and an associated method.


The accurate determination of the frequency of an electrical signal is important for monitoring and/or controlling electrical systems or power networks, such as power distribution networks.


BRIEF DESCRIPTION

According to a first aspect of the invention, an apparatus is provided for determining a measure of the frequency of an electrical signal, and the apparatus is configured to, based on a plurality of samples of the electrical signal, determine a Hilbert transformation to obtain a value for each of the samples of the electrical signal for use as an imaginary representation of each of the samples of the electrical signal and combine each said imaginary representation with a corresponding real representation of the samples of the electrical signal to form a complex representation of the electrical signal; perform a Fourier transform on each said complex representation of the samples of the electrical signal and determine a phase angle therefrom; and determine a measure of the frequency of the electrical signal based on a derivative of the phase angle with respect to time.


The apparatus may be beneficial as the use of a Hilbert transformation in the formation of the complex representation provides for robust determination of the frequency from the derivative of the phase angle. Applying the Fourier transform to the complex representation may be advantageous.


In one or more examples, the apparatus comprises a controller for an electrical system and the controller is configured to provide said measure of the frequency of the electrical signal for control of the electrical system. The electrical system may comprise a power convertor, a power generation system, a power transmission system or a power distribution system.


In one or more examples, determination of the measure of the frequency is based on an average of the derivative of the phase angle with respect to time.


In one or more examples, said average is taken over a time window related to a rated frequency of the electrical signal. Thus, the electrical signal may be rated at a particular frequency and the apparatus may be configured to determine a deviation from the rated frequency.


In one or more examples, the apparatus is configured to time delay the real representation of the measurement of the electrical signal to temporally align it with the imaginary representation when forming the complex representation of the electrical signal, said time delay based on an order of Hilbert coefficients used in the determination of the Hilbert transformation. Typically, the order of Hilbert coefficients is related to the number of coefficients used in the Hilbert transformation.


In one or more examples, the time delay, in terms of the number of samples, comprises N where N comprises the order of the Hilbert coefficients used in the Hilbert transformation. In one or more examples, the order may be up to 1, 2, 3, 4, 5, 6 or more.


In one or more examples, the Hilbert transformation is performed using three Hilbert coefficients. These coefficients may be obtained when the order is equal to one.


In one or more examples, the apparatus is configured to provide a feedback signal based on the determined measure of the frequency and wherein a magnitude of said imaginary representation of the samples of the electrical signal is modified by said feedback signal prior to said Fourier transformation. This may be advantageous because the feedback of frequency is before the Fourier transformation which removes noise as a band pass filter.


In one or more examples, the determination of the Hilbert transformation to determine the imaginary representation y(n) of the electrical signal x(n), where n is one of the samples of the electrical signal comprises convolution of the electrical signal x(n) with Hilbert coefficients in accordance with the following formula:







y


(
n
)


=


x
*

H


(
n
)



=




k
=
0


2

N









x


(

n
-
k

)




H


(
k
)









in which symbol “*” represents a convolution operation; and H(k) represents Hilbert coefficients as follows:







H


(
k
)


=


2
π



{


-

1
N


,





,
0
,

-

1
2


,
0
,

-
1

,
0
,
1
,
0
,

1
2

,
0
,

1
3

,
0
,





,

1
N


}






where N represents an order of the Hilbert coefficients.


In one or more examples, the Hilbert transformation is performed using the Hilbert coefficients where the order N=1, such that:







H


(
k
)


=


2
π



{


-
1

,
0
,
1

}






In one or more examples, the performance of the Fourier transform on the complex representation xc to form a frequency domain phasor XPhs(n) comprises:








X
Phs



(
n
)


=


2

N
spc







k
=
0



N
spc

-
1






x
c



(

n
-
k

)




exp


(

j



2





π





k


N
spc



)









in which Nspc comprises the number of samples per cycle of rated fundamental frequency of the electrical signal and k is an index value.


For example, if the sampling frequency fs=2000 Hz, the rated fundamental frequency is f0=50 Hz, then Nspc=fs/f0=2000/50=40 samples/cycle.


In one or more examples, the following equation is calculated to determine the phase angle φ(n) from the phasor XPhs(n) output from the Fourier transformation:







ϕ


(
n
)


=

arctan


(


Im


(


X
Phs



(
n
)


)



Re


(


X
Phs



(
n
)


)



)






In one or more examples, the measure of frequency comprises an instantaneous measure of frequency fcal(n) and is determined by the following equation:








f
cal



(
n
)


=



ϕ


(
n
)


-

ϕ


(

n
-
1

)




2





π






T
s







in which n is the sample number of the plurality of samples and Ts is the sampling period. It will be appreciated that the sampling period is the reciprocal of the sampling frequency used to obtain the samples of the electrical signal. Thus, if the sampling frequency fs=2000 Hz, Ts=1/fs= 1/2000=0.0005 (seconds).


In one or more examples, the measure of frequency comprises an average measure of frequency f(n) and is determined by the following average filter formula:







f


(
n
)


=


1

N
spc







k
=
0



N
spc

-
1





f
cal



(

n
-
k

)








in which the window length Nspc of the average filter comprises the number of samples per cycle of rated fundamental frequency of the electrical signal, n is the sample number and k is an index value and:








f
cal



(
n
)


=



ϕ


(
n
)


-

ϕ


(

n
-
1

)




2





π






T
s







in which n is the sample number of the plurality of samples and Ts is sampling period.


In one or more examples, the feedback signal Kcomp is based on a curve fitting method to an amplitude-frequency response of the Hilbert coefficients used in the Hilbert transformation.


In one or more examples, the feedback signal Kcomp is determined by the following formula:







K
comp

=



a
1



f

f
0



+



a
2



(

f

f
0


)


3

+

+



a
m



(

f

f
0


)




2

m

-
1







in which a1, a2, . . . , am are coefficients calculated by curve fitting to an amplitude-frequency response of the Hilbert coefficients used in the Hilbert transformation and f0 is the rated frequency of the electrical signal. In one or more examples, the coefficients are obtained by the following steps:


The amplitudes of Hilbert coefficients with respect to a discrete frequency range are calculated from a predetermined lower-expected-frequency-limit flefl=1 to a predetermined higher-expected-frequency-limit fhefl=100, and using a predetermined frequency step Δf=1 in accordance with the following equation:








H
F



(
n
)


=






k
=
0



4

N

-
2









H


(
k
)




e

j





2





π





k





Δ





fn










in which k=flefl=1, flefl+Δf, flefl+2Δf, . . . , fhefl=100; and N is an order of the Hilbert coefficients used in the Hilbert transformation; such that HF is the amplitude response at frequency nΔf.


The coefficients a1, . . . , am are calculated by a curve fitting method as follows: let X=[a1, . . . , am]T and Y=[HF(flefl=1), . . . , HF(fhefl=100)];






A
=

[





Δ





f


f
0






(


Δ





f


f
0


)

3








(


Δ





f


f
0


)



2

m

-
1








2

Δ





f


f
0






(


2

Δ





f


f
0


)

3








(


2

Δ





f


f
0


)



2

m

-
1






















100

Δ





f


f
0






(


100

Δ





f


f
0


)

3








(


100

Δ





f


f
0


)



2

m

-
1





]





such that the coefficients are calculated by the following formula:






X=(ATA)−1ATY


According to a second aspect of the invention, a method of determining a measure of the frequency of an electrical signal is provided. The method includes the steps of, based on a plurality of samples of the electrical signal, determining a Hilbert transformation to obtain a value for each of the samples of the electrical signal for use as an imaginary representation of each of the samples of the electrical signal and combine each of said imaginary representation with a corresponding real representation of the samples of the electrical signal to form a complex representation of the electrical signal; performing a Fourier transform on each said complex representation of the samples of the electrical signal and determine a phase angle therefrom; and determining a measure of the frequency of the electrical signal based on a derivative of the phase angle with respect to time.


According to a third aspect we provide a computer program or a computer program product comprising computer program code which, when executed on a processor having memory associated therewith is configured to perform the method of the second aspect.


According to a fourth aspect of the invention we provide a power (distribution) network including the apparatus of the first aspect.





BRIEF DESCRIPTION OF THE DRAWINGS

There now follows, by way of example only, a detailed description of embodiments of the invention with reference to the following figures, in which:



FIG. 1 shows an example apparatus comprising, in this example, a controller for an electrical system;



FIG. 2 shows the apparatus of FIG. 1 in more detail; and



FIG. 3 shows a flow chart illustrating an example method.





DETAILED DESCRIPTION

Many electrical systems operate using alternating current (AC). While the alternating current may be rated to a particular frequency (the rated frequency), in reality it may vary. It is common for the rated frequency to comprise either 50 Hz or 60 Hz. In some applications the frequency of the electric voltage or current is required to be calculated and tracked. An accurate determination of the frequency may be useful for monitoring of electricity generation system, electricity supply system, electricity distribution system or electrical conversion system or any other type of electrical apparatus/system. Further, the measure of frequency may be used to control other apparatus or systems, which may perform more efficiently or with improved reliability with an accurate measure of the actual frequency. The example apparatus and method described may provide for accurate, stable and robust calculation of the actual frequency of an input signal (voltage or current) having a rated frequency.



FIG. 1 shows an apparatus 100 configured to determine a measure 101 of the frequency of an electrical signal 102. The apparatus may form part of an electrical apparatus 103. The electrical apparatus may provide a control signal or monitoring signal 104 based on said measure 101.



FIG. 2 shows the functional blocks of the apparatus 100. The functional blocks may or may not represent the form of the apparatus 100 and are intended to diagrammatically show the operations performed by the apparatus 100 in determining the measure of frequency of the electrical signal. The functional blocks may be implemented as one or more discrete processing components or the functionality of one or more of the blocks may be integrated into one functional block. In some examples, a central processor is used to perform the functionality of the blocks shown in FIG. 2.


The apparatus 100 is configured to receive a plurality of samples of the electrical signal at 102. The plurality of samples may comprise voltage or current measurements taken at a predetermined sampling rate, fs. In some examples, the apparatus is configured to operate on a stream of said samples so that the electrical apparatus 103 may be provided with a real time measure of the frequency, such as for use in other control processes. Thus, the apparatus may operate in real time. A block 200 (Hilbert transform block) is provided to determine a Hilbert transformation to obtain an imaginary representation of the electrical signal, shown at 201. A block 202 (complex representation formation block) is configured to combine said imaginary representation 201 with a corresponding (in time) real representation 203 of the samples of the electrical signal to form a complex representation of the electrical signal, shown at 204.


A block 205 (Fourier transform block) is provided and configured to perform a Fourier transform on said complex representation of the electrical signal to determine a phase angle, shown as an output of a block 206 (phase angle block), of the complex representation of the electrical signal. A block 207 (derivative block) is provided to determine a measure of the frequency of the electrical signal based on a derivative of the phase angle with respect to time.


The apparatus 100 shown in FIG. 2 includes several other functional blocks that may be considered optional, such as a delay block 208, an average block 210, a feedback signal block 211 and a feedback combination block 212, which are described in more detail below.


The apparatus 100, in this example, may be considered to comprise three main sections. Firstly, a complex signal formulation block 213 configured to receive the plurality of samples of the electrical signal and, using the Hilbert transformation, and optionally a feedback signal, form a corresponding plurality of complex representations of the electrical signal from the samples. Secondly, a frequency determination block 214 configured to operate on the complex representations of the electrical signal of the block 213 and determine a Fourier transform thereof followed by a derivative of the phase angle. The frequency determination block 214 may be configured to determine an average of a plurality of or a moving window of phase angle derivative values. The average may be taken over a period of the rated frequency or based on the rated frequency. Thirdly, a feedback block 215 configured to determine a feedback signal from the measure of the frequency 101 and provide said feedback signal to modify the imaginary representation of the electrical signal 201. The modification may comprise using the feedback signal as a magnitude compensation coefficient of the imaginary representation of the electrical signal 201. The feedback signal may be determined by using the determined measure of frequency and a curve fitting method to fit to an amplitude-frequency response of coefficients used in the Hilbert transformation.


Looking at the complex signal formulation block 213 in more detail, including the optional blocks, the apparatus receives a plurality of real values that comprise samples of the current or voltage of the electrical signal. To form a complex representation of the electrical signal or, more particularly the samples thereof, the apparatus 100 provides the samples to the Hilbert transform block 200 and to the delay block 208.


The determination of the Hilbert transformation in block 200 to determine the imaginary representation y(n) of the electrical signal x(n), where n represents one of the samples of the electrical signal comprises convolution of electrical signal x(n) samples with Hilbert coefficients in accordance with equation 1:










y


(
n
)


=


x
*

H


(
n
)



=




k
=
0


2

N









x


(

n
-
k

)




H


(
k
)









(
1
)







in which symbol “*” represents a convolution operation; and H(k) represents Hilbert coefficients.


The Hilbert coefficients comprise:










H


(
k
)


=


2
π



{


-

1
N


,





,
0
,

-

1
2


,
0
,

-
1

,
0
,
1
,
0
,

1
2

,
0
,

1
3

,
0
,





,

1
N


}






(
2
)







The number or order, N, of Hilbert coefficients used may be a compromise between accuracy and computational complexity. In this example, the Hilbert transformation is performed using three Hilbert coefficients. Accordingly, N, the order of the Hilbert coefficients, is chosen as 1 and thus:







H


(
k
)


=


2
π



{


-
1

,
0
,
1

}






In other examples more Hilbert coefficients may be used and thus N may comprise, or comprise less than, or comprise more than 1, 2, 3, 4, 5 or more.


The output of the Hilbert transform block 200 comprises a real number representative of the sample of the electrical signal that is provided as the imaginary part for formulating the complex signal, as described below.


In some examples, the output from the block 200 may be provided directly to the complex representation formation block 202 for use in forming the complex representation of the electrical signal. However, in this example, the output of the Hilbert transformation block 200 is combined with a feedback signal based on the measure of frequency determined by the apparatus 100. It will be appreciated that initially a feedback signal may not be available and a predetermined or default value may be used.


The use of a feedback signal and/or how the feedback signal is determined may be based the number of Hilbert coefficients used in the Hilbert transformation block 200. For example, if an accurate Hilbert transformation, using more Hilbert coefficients, is determined then a feedback signal may not be required or the effectiveness of the feedback signal need not be as great.


In this example, the imaginary representation is passed to the feedback combination block 212 which multiplies each imaginary representation of the electrical signal samples with the feedback signal, the feedback signal comprising an amplitude compensation coefficient Kcomp, which will be described in more detail below.


Accordingly the feedback combination block 212 generates a feedback-compensated imaginary-representation, xlm(n), of the electrical signal from the samples using the imaginary representation y(n) of the electrical signal and the feedback signal Kcomp by way of equation:






x
Im(n)=y(n)/Kcomp  (3)


There may be a time delay when the Hilbert transform is taken by the Hilbert transformation block 200. Thus, to ensure that a real representation sample of the electrical signal is combined with a corresponding imaginary representation sample of the electrical signal, a delay may be required. The delay block 208 is configured to delay the samples of the electrical signal 102 such that the complex representation formation block 202 receives real and imaginary values obtained/derived from the same samples of the electrical signal.


The time delay may be based on the number of Hilbert coefficients used in the determination of the Hilbert transformation or the order of the Hilbert coefficients, N, used. As described above, N, in this example is 1.


Accordingly, delay block 208 is configured to receive samples of the electrical signal x(n) and provide a delayed value xRe(n) in accordance with the following formula:






x
Re(n)=x(n−N)  (4)


Thus, the delay in terms of the number of samples may be the order of the Hilbert transformation N.


In other examples, the delay block 208 may not be required. For example, the apparatus may receive two streams of samples of the electrical signal, one delayed relative to the other. In other examples the Hilbert transformation may be performed more quickly.


The complex representation formation block 202 receives temporally aligned real representations xRe(n) of the samples of the electrical signal and imaginary representations xIm(n) of the samples of electrical signal. The complex representation formation block 202 determines the complex representation of the electrical signal xc(n) in accordance with the following equation:






x
c(n)=xRe(n)+jxIm(n)  (5)


where j is the imaginary unit.


The Fourier transform block 205 receives the complex representation of the electrical signal xc(n) samples and takes the Fourier transform by the following formula:











X
Phs



(
n
)


=


2

N
spc







k
=
0



N
spc

-
1






x
c



(

n
-
k

)




exp


(

j



2





π





k


N
spc



)









(
6
)







in which Nspc comprises the number of samples per cycle of rated fundamental frequency of the electrical signal and k is an index value. For example, if the electrical signal is sampled at a sampling frequency fs of 2000 Hz and the rated fundamental frequency f0 is 50 Hz, then Nspc=fs/f0=2000/50=40 samples/cycle.


The output of the Fourier transform block 205 comprises a phasor XPhs(n) at instant n.


The phase angle block 206 is configured to determine the phase angle φ(n) from the phasor XPhs(n) in accordance with the following equation:










ϕ


(
n
)


=

arctan


(


Im


(


X
Phs



(
n
)


)



Re


(


X
Phs



(
n
)


)



)






(
7
)







where Im( ) represents taking the imaginary part of the phasor XPhs(n) and Re( ) represents taking the real part of the phasor XPhs(n).


The derivative block 207 calculates a derivative of the phase angle φ(n). In this example the derivative is determined by the following equation and yields the instantaneous frequency fcal(n):











f
cal



(
n
)


=



ϕ


(
n
)


-

ϕ


(

n
-
1

)




2



π

T

s







(
8
)







where Ts is the sampling period, which is the reciprocal of sampling frequency.


The apparatus 100 may be configured to provide the instantaneous frequency fcal(n) as its output comprising the measure of the frequency of the electrical signal 101.


However, in this example, an average of a plurality instantaneous frequency values fcal(n) is determined and provided as the output comprising the measure of the frequency of the electrical signal 101.


Accordingly, the output f(n) of the apparatus 100 is calculated by the average block 210 which calculates a stable or average output frequency over an averaging window. In particular, the average block may comprise an average filter with window length is Nspc:










f


(
n
)


=


1

N
spc







k
=
0



N
spc

-
1









f
cal



(

n
-
k

)








(
9
)







where Nspc comprises the number of samples per cycle of rated fundamental frequency of the electrical signal.


The feedback signal Kcomp may be calculated, by the feedback signal block 211, from the measure of frequency f(n) provided by the average block 210 in accordance with the following series equation:










K
comp

=



a
1



f

f
0



+



a
2



(

f

f
0


)


3

+

+



a
m



(

f

f
0


)




2

m

-
1







(
10
)







in which a1, a2, . . . , am are coefficients calculated by curve fitting to an amplitude-frequency response of coefficients used in the Hilbert transformation and f0 is the rated frequency of the electrical signal.


These coefficients may be obtained by the following steps:


The amplitudes of Hilbert coefficients are calculated with respect to a discrete frequency range from a predetermined lower-expected-frequency-limit flefl to a predetermined higher-expected-frequency-limit fhefl, and using a predetermined frequency step Δf in accordance with the following equation:











H
F



(
n
)


=






k
=
0



4

N

-
2









H


(
k
)




e


j

2







π

k






Δ





fn










(
11
)







in which k=flefl, flefl+Δf, flefl+2Δf, . . . , fhefl; and N is an order of the Hilbert coefficients used in the Hilbert transformation; such that HF is the amplitude response at frequency nΔf.


In this example, the following values flefl=1 and fhefl=100 will be used as it has been found these values may be generally acceptable for rated frequencies of 50 Hz or 60 Hz.


Thus, as an example, the feedback signal block 211 may be configured to calculate the amplitudes of Hilbert coefficients with respect to the discrete frequency from 1 Hz to 100 Hz using a predetermined frequency step Δf of 1 Hz, to realize 100 amplitudes:








H
F



(
n
)


=






k
=
0



4

N

-
2









H


(
k
)




e


j

2







π

k






Δ





fn










where k=1, 2, . . . , 100 Hz and N is order of Hilbert coefficient.


The coefficients a1, . . . , am are calculated by a curve fitting method as follows: Let X=[a1, . . . , am]T and Y=[HF(1), . . . , HF(100)], as per the example of flefl=1 and fhefl=100:









A
=

[





Δ





f


f
0






(


Δ





f


f
0


)

3








(


Δ





f


f
0


)



2

m

-
1








2

Δ





f


f
0






(


2

Δ





f


f
0


)

3








(


2

Δ





f


f
0


)



2

m

-
1






















100

Δ





f


f
0






(


100

Δ





f


f
0


)

3








(


100

Δ





f


f
0


)



2

m

-
1





]





(
12
)







such that the coefficients are calculated by the following formula:






X=(ATA)−1ATY  (13)


Thus, each row steps through from flefl=1 to fhefl=100. As mentioned above, the predetermined lower-expected-frequency-limit flefl may comprise 1 Hz and the predetermined higher-expected-frequency-limit fhefl may comprise 100 Hz. It will be appreciated that other values may be used and the limits may relate to an expected range of variation from the rated frequency. Thus, the equations above could be generalized accordingly.


In this example the series of equation 10 is truncated such that Kcomp is provided by the following equation:










K
comp

=



a
1



f

f
0



+



a
2



(

f

f
0


)


3






(
14
)







It will be appreciated that the series may be truncated at (or less than/more than) 1, 2, 3, 4, 5, 6, 7, 8 or more terms.


Thus, given that in the example above the order of the Hilbert transformation is N=1, then the coefficient of a1 and a2 can be calculated as:






a
1=0.1;






a
2=−1.0281E−04.


Accordingly, Kcomp is a real value that may be used to modify the magnitude of the imaginary representation to compensate for any inaccuracy in the determination of the Hilbert transformation due to the order selected therefore, as described above.


It has been found that the apparatus may provide a measure of the frequency of the electrical signal that is accurate to less than 1×10−7 Hz. Further, the stability and robustness of the frequency determination may be surprisingly advantageous such that for 1% white noise in the electrical signal the error in the measure of frequency may be less than 0.05 Hz.



FIG. 3 shows a flow chart illustrating the steps of the method of determining a measure of the frequency of the electrical signal performed by the apparatus 100. The flow chart shows; determining 301 a Hilbert transformation of each of the samples of the voltage or current of the electrical signal to obtain an imaginary representation thereof; forming 302 a complex representation of each of the samples of the electrical signal; performing 303 a Fourier transform to obtain a phasor; determining 304 a phase angle from the phasor; determining 305 a measure of the frequency of the electrical signal based on a derivative of the phase angle with respect to time.


It is to be understood that even though numerous characteristics and advantages of various embodiments have been set forth in the foregoing description, together with details of the structure and functions of various embodiments, this disclosure is illustrative only, and changes may be made in detail, especially in matters of structure and arrangement of parts within the principles of the embodiments to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed. It will be appreciated by those skilled in the art that the teachings disclosed herein can be applied to other systems without departing from the scope and spirit of the application.

Claims
  • 1. An apparatus for determining a measure of the frequency of an electrical signal, the apparatus configured to: based on a plurality of samples of the electrical signal, determine a Hilbert transformation to obtain a value for each of the samples of the electrical signal for use as an imaginary representation of each of the samples of the electrical signal and combine each said imaginary representation with a corresponding real representation of the samples of the electrical signal to form a complex representation of the electrical signal;perform a Fourier transform on each of said complex representation of the samples of the electrical signal and determine a phase angle therefrom; anddetermine a measure of the frequency of the electrical signal based on a derivative of the phase angle with respect to time.
  • 2. An apparatus according to claim 1, wherein the apparatus comprises a controller for an electrical system and the controller is configured to provide said measure of the frequency of the electrical signal for control of the electrical system.
  • 3. An apparatus according to claim 1, wherein determination of the measure of the frequency is based on an average of the derivative of the phase angle with respect to time.
  • 4. An apparatus according to claim 1, wherein the apparatus is configured to time delay the real representation of the measurement of the electrical signal to temporally align it with the imaginary representation when forming the complex representation of the electrical signal, said time delay based on an order of Hilbert coefficients used in the determination of the Hilbert transformation.
  • 5. An apparatus according to claim 1, wherein the apparatus is configured to provide a feedback signal based on the determined measure of the frequency and wherein a magnitude of said imaginary representation of the samples of the electrical signal is modified by said feedback signal prior to said Fourier transformation.
  • 6. An apparatus according to claim 1, wherein the determination of the Hilbert transformation to determine the imaginary representation y(n) of the electrical signal x(n), where n is one of the samples of the electrical signal, comprises convolution of electrical signal x(n) with Hilbert coefficients in accordance with the following formula:
  • 7. An apparatus according to claim 6, wherein the Hilbert transformation is performed using three Hilbert coefficients.
  • 8. An apparatus according to claim 1, wherein the following equation is calculated to determine the phase angle φ(n) from a phasor XPhs(n), said phasor comprising the output of the Fourier transform:
  • 9. An apparatus according to claim 8, wherein the measure of frequency comprises an instantaneous measure of frequency fcal(n) and is determined by the following equation:
  • 10. An apparatus according to claim 8, wherein the measure of frequency comprises an average measure of frequency f(n) and is determined by the following average filter formula:
  • 11. An apparatus according to claim 5, wherein the feedback signal Kcomp is based on a curve fitting method to an amplitude-frequency response of Hilbert coefficients used in the Hilbert transformation.
  • 12. An apparatus according to claim 11, wherein the feedback signal Kcomp is determined by the following formula:
  • 13. A power network including the apparatus of claim 1.
  • 14. A method of determining a measure of the frequency of an electrical signal comprising; based on a plurality of samples of the electrical signal, determining a Hilbert transformation to obtain a value for each of the samples of the electrical signal for use as an imaginary representation of each of the samples of the electrical signal and combine each of said imaginary representation with a corresponding real representation of the samples of the electrical signal to form a complex representation of the electrical signal;performing a Fourier transform on each of said complex representation of the samples of the electrical signal and determine a phase angle therefrom; anddetermining a measure of the frequency of the electrical signal based on a derivative of the phase angle with respect to time.
  • 15. A computer program or computer program product comprising computer program code which, when executed on a processor having memory, performs the method of claim 14.
Priority Claims (1)
Number Date Country Kind
16275014.5 Jan 2016 EP regional