You are on page 1of 8

IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 59, NO.

5, MAY 2010 1119

Real-Time Digital Compensation of Current


Transformers Over a Wide Frequency Range
Daniele Gallo, Member, IEEE, Carmine Landi, Member, IEEE, and Mario Luiso, Member, IEEE

Abstract—The advance in power electronics causes, over the transformers (VTs) and current transformers (CTs) are the most
years, an increasing diffusion of nonlinear loads. Moreover, elec- installed transducers in electrical power systems, but typically,
trical generation systems are going to include a growing amount they are constructed only to operate at the industrial frequency,
of solar and wind energy, characterized by time-variant flow of
energy and, very often, with a relevant distortion. These aspects i.e., 50/60 Hz. It is clear that their substitution would require
give more and more emphasis to the monitoring of conducted an unsustainable cost, even if it could be justified by the
disturbances on power systems over a wide frequency range, and growing cost linked to bad power quality. Nevertheless, the
consequently, voltage and current transducers adopted for this adoption of an add-on device would enhance the metrological
aim must have a proper frequency bandwidth. Voltage trans- characteristics of the transformers. In the scientific literature,
formers (VTs) and current transformers (CTs), which are the
most installed transducers in electrical power systems, are typi- several papers face the issue of characterizing and compensat-
cally constructed to operate only at the industrial frequency, i.e., ing CTs and VTs [1]–[6]. All presented techniques perform
50/60 Hz, but it is clear that their substitution would require an compensation of measuring transformers only at the industrial
unsustainable cost. Therefore, in this paper, a method for real-time frequency. The authors have already proposed a technique for
digital compensation of the CT frequency response over a wide improving CT performance in the frequency range of 20 Hz to
range is presented. An implementation of the proposed method
is shown, and the compensated CT is characterized and tested 10 kHz in [7] and [8]; some power quality phenomena have not
in some practical situations, with waveforms affected by typical been taken into consideration yet. Therefore, in this paper, an
power quality disturbances. improved technique for compensating CTs in a wider frequency
Index Terms—Compensation, current transformer (CT), digital range, i.e., 1 Hz to 40 kHz, is presented. It is based on the
filter, field-programmable gate array, frequency response, power identification of a digital filter compensating the transformer
quality. frequency response. The filter is implemented on an FPGA
board, provided with analog-to-digital converters (ADCs) and
I. I NTRODUCTION digital-to-analog converters (DACs) for experimental verifica-
tion purposes.
T HE AMOUNT of disturbances on the electrical network
is increasing year after year, mainly due to the wide
diffusion of switching power converters. In addition, the im-
Specifically, Section II is focused on the compensation
method, which is based on an optimization technique. In
Section III, there is the description of an automated test system
proved performance of power electronics on one hand and the
adopted for the characterization of CTs. Data available from
growing energy needs on the other encourage the integration
characterization are then used in the identification procedure:
of renewable energy sources into the electric energy systems.
the optimization results are shown in Section IV. Finally,
Because of the conversions (ac to ac or dc to ac) and the time-
Section V presents experimental results related to the character-
variant generation level that are typically related with renewable
ization of the compensated CT and its testing in some practical
energy technologies, the connection to the power grid often
situations, with waveforms affected by typical power quality
becomes an issue. All these issues let us perceive that the
disturbances.
correct measurement of conducted disturbances on power sys-
tems (power quality) is becoming a key task in the new energy
scenario for compatibility verification and the identification of II. C OMPENSATION M ETHOD
unsafe situations.
Far from power transformers, CTs can be considered as linear
Reliable power quality measurements require analyses over a
devices based on some considerations. Transformer nonlinear-
wide frequency range. Since voltage and current transducers are
ity is almost completely due to the magnetic core saturation
the first part of any power quality instrument, their frequency
[9]: it is directly proportional to the primary current root-mean-
responses deeply influence all measurement results. Voltage
square (rms) value, and it is minimized by a large turn ratio,
a small burden, a small remanence flux, a large core area, and
Manuscript received June 30, 2009; revised January 20, 2010. Current small secondary resistance. In general, CTs are constructed to
version published April 7, 2010. The Associate Editor coordinating the review meet the last three requirements; regarding the burden, it has
process for this paper was Prof. Alessandro Ferrero.
The authors are with the Department of Information Engineering, Second to be chosen according to the maximum power transferable
University of Naples, 81031 Aversa, Italy (e-mail: daniele.gallo@unina2.it; from primary to secondary to maintain the accuracy class.
carmine.landi@unina2.it; mario.luiso@unina2.it). Finally, for what concerns the primary current rms, according
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org. to international standards [10], [11], the accuracy class has
Digital Object Identifier 10.1109/TIM.2010.2044616 to be maintained in the range from 5% to 120% of the rated
0018-9456/$26.00 © 2010 IEEE
1120 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 59, NO. 5, MAY 2010

current: of course, this rms depends on the amplitudes of that the transfer function of the filter approximates a desired
the fundamental and other frequency components. Since the frequency characteristic.
contribution to the core magnetic flux is inversely proportional The problem of choosing the best coefficients can be formu-
to the frequency [9] and, in most cases, harmonic amplitudes lated, from a mathematical point of view, as an inverse problem
are much smaller than the fundamental one, for the specific [12] and solved by adopting optimization techniques [13]. An
purpose, they can be neglected. Therefore, under the assump- objective function describing the difference between the desired
tion that the primary current does not exceed 120% of its rated frequency response and the obtained values has to be defined
value, a CT can be considered a linear device, as it is considered and minimized by an optimization algorithm. The choice of
in most scientific papers proposing compensation techniques the objective (or cost) function affects the optimality and the
[1]–[5]. All the mentioned techniques, even those reaching computational complexity of the solution.
considerable performance improvement in terms of both ratio In [7], the structure (3) for the filter transfer function and an
and phase errors, do not consider the possibility of improving objective function accounting for the improvements, in terms
CT performance over a wider frequency range. of reductions in ratio errors and phase displacements, obtained
Therefore, a CT with a low linearity error can be considered with the introduction of the filter were used. Moreover, the best
as a linear system, and its frequency response can be ex- filter was identified in the frequency range of 10–10 000 Hz,
pressed by using a sampling frequency of 160 kHz. Nevertheless, in such
a way, the filter operation is not defined in its entire bandwidth,
1 i.e., from dc to half sampling frequency, and so, there might
Y (f ) = X(f ) (1)
R(f )e−jϕ(f ) be situations in which it might give unreliable results. A more
robust design should account for the filter response in its entire
where X and Y are the spectra of the signals, both before and bandwidth.
after the transduction. R and ϕ are the systematic modifica- As better illustrated in the following section, the automated
tions introduced by the transduction in amplitude and phase, station used for calibrating CTs operates in the range of dc to
respectively, on the spectral components of the input signal. 50 000 Hz; therefore, the best filter is identified in this range,
Once the CT has been metrologically characterized and its and thus, for the sampling frequency, 100 kHz has been chosen.
frequency response has been found over a certain frequency For the dc value, zero gain has been imposed.
range, cascading a device with a frequency response equal to Identifying a filter, assigning frequency response data in
a CT inverse one, systematic deviations are compensated over its entire bandwidth, is a more complicated task, since its
all the considered frequency range. For this purpose, a filter can transfer function has fewer degrees of freedom. An efficient
be adopted, whose frequency response Hd (f ) should exactly be solution has been found by choosing different expressions for
given by the filter transfer function and the objective function. As it is
X(f ) said in [14], if the filter transfer function H(z) is factorized
Hd (f ) = R(f )e−jϕ(f ) = (2) in second-order sections (SOSs), the frequency response is less
Y (f )
sensitive to changes in coefficient values. This factorization can
for any frequency f in the range of interest. The analog im- be expressed as
plementation of transfer function (2) is not easily practicable,

N
1 + b1,k z −1 + b2,k z −2
and it can lead to acceptable results only if applied to a very H(z) = K . (4)
limited frequency range. Better results can be obtained with 1 + a1,k z −1 + a2,k z −2
k=1
digital filtering. Obviously, for a real-time compensation, a
digital processor has to implement such digital filtering. In the In addition, for the objective function [15], the following
following, the procedure for identifying the filter is described, expression is used:
while the hardware that executes it in real time is shown in the
1
M
next sections.
F (P ) = W · |log10 H(fi , P ) − log10 Hd (fi )|2
Two main implementations for digital filters exist: finite- 2 i=1
impulse response (FIR) and infinite-impulse response (IIR).
FIR filters are relatively simple to compute and inherently sta- ·[log10 fi+1 − log10 fi−1 ] (5)
ble, but their main drawback, compared with IIR filters, is that
they may need a large number of coefficients to approximate where P is the vector of the 4N + 1 variables of (4), M is the
a desired response; moreover, they can only introduce a delay number of the frequency points involved in the identification
in phase frequency response. This makes them ineffective for procedure, and W is the vector of the weights. The cost function
the aim of this paper. An IIR filter is generally modeled by a (5) weighs the ratio, rather than the difference, between the
transfer function in the z-domain that can be written as model frequency response and the frequency response data at
each frequency. In addition, a logarithmically spaced frequency
b0 + b1 z −1 + · · · + bm z −m interval has been used. Practically, it is like including Bode’s
H(z) = . (3) concept in the cost function; in fact, it weighs the difference
1 + a1 z −1 + · · · + an z −n
between the Bode diagrams of the model frequency response
With this approach, filter design requires the choice of the and the frequency response data. It is important to note that this
best values for parameters a1 , . . . , an and b0 , b1 , . . . , bm so is the real problem, as what is really requested is to minimize
GALLO et al.: REAL-TIME DIGITAL COMPENSATION OF CURRENT TRANSFORMERS OVER A WIDE FREQUENCY RANGE 1121

the difference between the Bode diagrams of the model and


the data.
The optimization problem studied here has a nonlinear ob-
jective function with 4N + 1 independent variables. Therefore,
the research space should be R4N +1 , with R being the whole
set of real numbers. Nevertheless, this interval can be re-
duced by adopting some constraints on solution characteristics.
The constraints divide the research space into feasible and
infeasible regions with remarkable reduction in computational
burden [16]. Considering this, a constraint results in filter
stability: the poles of the digital filter must have a modu-
lus smaller than one, so a nonlinear inequality constraint is
imposed. Fig. 1. Block scheme of the realized calibration station.
To numerically study (5), a hybrid scheme based on the com-
bination of a stochastic and a deterministic approach has been
III. C HARACTERIZATION OF CT S
adopted [17], [18]. The two approaches are used in a combined
way to take advantage of their complementary characteristics. For the metrological characterization of uncompensated and
In fact, the deterministic approach is the fastest way to work compensated CTs, an automated measuring station has been
out a solution, but the quality of the results strongly depends on set up: it is based on a power amplifier, which is numerically
the choice of the starting point. Nondeterministic approaches controlled, and a PXI platform. Its block scheme is shown in
do not depend on the initial choice, and they are usually slow Fig. 1. It includes two modules for data acquisition and one
in finding out the optimal solution. Starting from these consid- module for waveform generation. The data acquisition modules
erations, an initial exploration of space of solutions is made both have eight synchronous analog inputs and a ±10-V input
by a genetic algorithm having a population size greater than range, the first one has a 16-bit resolution and 500-kHz maxi-
the number of coefficients chosen as target. Then, the obtained mum sampling rate per channel, and the second one has a 14-bit
values are used as initial points to run a constrained deter- resolution and 2.5-MHz maximum sampling rate per channel.
ministic approach based on sequential quadratic programming The generation module has one analog output at 16 bits,
(SQP) [16] to find the optimal solution. The SQP algorithm was ±12-V output range, 100-MHz maximum generation fre-
preferred over simpler algorithms (such as zero-order methods) quency, and a memory of 256 MB. Through the generation
taking into account the information about the derivative of the module, the desired waveforms are generated and then ampli-
objective function and, in addition, including, in direct way, the fied. The utilized power amplifier is the Kepco 15-20 M; with
aforementioned constraints. output ranges of ±15 Vpeak for voltage and ±20 Apeak for
The described procedure has two parameters, which can ar- current, the frequency bandwidth is in the range of dc to 50 kHz.
bitrarily be chosen before solution research starts: the sampling A power resistor is inserted at amplifier output to generate the
frequency and the number of SOSs. desired current waveforms. The current reference is obtained by
The sampling frequency, according to previous considera- a current shunt (Lem Norma Triax Shunt) with an input range
tions, has been chosen to be equal to 100 kHz. The number of ±30 Arms and a resistance of 10 mΩ, i.e.,10 A–100 mV;
of SOSs should be fixed very carefully because it is directly in the frequency range of dc–100 kHz, it has a maximum ratio
proportional to the number of independent variables of the error of 0.03% and a phase displacement smaller than 1.7 mrad.
objective function and to the complexity of the obtained filter. Measurement software has been developed in LabWindows/
Typically, better results are obtained by increasing the filter CVI, a C programming environment, measuring instruments
order. It is fundamental to keep the filter computational burden oriented, distributed by National Instruments. The operation
low. For this reason, the procedure is repeated a certain number of such an automated station has been described in detail
of times, varying, in each run, the number of SOSs, to find the in [20].
best values for them. The case in question, a CT with a ratio of 150/5 A/A, an
The identification procedure is made in this way: First, accuracy class of 0.5, and a rated power of 5 VA has been
Hd (f ), which is defined in (2), is constructed in a numerical utilized; using 12 primary supplementary turns, its rated ratio
way, linearly interpolating experimental data obtained from cal- becomes 12.5/5 A/A. At the secondary winding, a resistive
ibration. The optimization algorithm runs in two nested loops, shunt of 100 mΩ has been inserted. A preliminary test to de-
varying the number of SOSs; in the inner loop, the procedure termine the ratio, at a frequency of 50 Hz and a current of 10 A,
is repeated a certain number of times. This is required based on has been conducted with the use of two multimeters (Fluke
the fact that the utilized hybrid optimization technique includes 8846A) [21]: it is 28.010 mV/A with an expanded uncertainty
a stochastic algorithm that returns different results in every run. (coverage factor equal to 3) of 0.075 mV/A.
The number of frequency points is chosen to be equal to four The uncompensated CT has been characterized at its rated
times the total number of variables [19]. Among the solutions, current, generating sinusoidal waveforms in the frequency
referring to the same number of SOSs and coming from the range of 1–50 000 Hz. The extensions of the definitions of ratio
inner loop, the solution that minimizes the cost function is error and phase displacement reported in the international stan-
chosen. dards [10], [11], which are aimed to include other frequencies
1122 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 59, NO. 5, MAY 2010

Fig. 2. Ratio error and phase displacement of the CT.


Fig. 3. Improvements in ratio error and phase displacement as functions of
in addition to fundamental frequency [22], [23], have been the number of SOSs.
adopted, and they are shown as follows:
  TABLE I
1 COEFFICIENTS OF THE BEST COMPENSATION FILTER
ΔR(fk ) = 100 −1 (6)
R(fk )
Δϕ(fk ) = ϕ(fk ) (7)
where R and ϕ are defined in (1). Fig. 2 shows the ratio error
and phase displacement of the CT: it is evident that the ratio TABLE II
error is close to zero at 50 Hz but is much greater at different PERFORMANCE OF THE CT AND T HAT OF THE
frequencies. SIMULATED COMPENSATED CT

IV. O PTIMIZATION R ESULTS


Data available from the calibration of the uncompensated CT
are used in the optimization procedure to find the digital filter
that, minimizing the ratio error and the phase displacement,
could compensate CT frequency response. As it is previously
said, the sampling frequency of a digital filter is chosen to
be equal to 100 kHz. The number of SOSs has been chosen Improvements in ratio error and phase displacement, varying
from the range of 2–20. The reason of this choice is that the number of SOSs from 2 to 20, are in the ranges of about,
higher orders would require high computational power, which respectively, 25–32 and 2–10. Depending on the performance
is not compatible with the hardware used for implementing the of compensation hardware, lower or higher order filters can be
compensation filter. The inner loop is repeated three times. To chosen. In Fig. 3, IR and Iϕ , as functions of the number of
evaluate the filters’ performance, overall, the input frequency SOSs, are shown. Regarding the filter with two SOSs, it seemed
range, the ratio errors, and the phase displacements have to be to be the best choice with respect to the tradeoff between
evaluated before and after filter introduction. Those before filter performance and complexity. Filter coefficients are shown
introduction are reported in (6) and (7), while those after filter in Table I.
introduction are given as follows: Considering the frequency range 10–1000 Hz, from simula-
 
|H(fk )| tions, it comes that the compensated CT has mean quadratic
ΔRC (fk ) = 100 −1 (8) values for the ratio error and phase displacement of 0.49%
R(fk )
ΔϕC (fk ) = arg H(fk ) − ϕ(fk ) (9) and 5.5 mrad, respectively; the original CT has mean quadratic
values for the ratio error and phase displacement of 0.70% and
where H(f ) is the frequency response of the implemented filter. 52.0 mrad, respectively. Therefore, IR and Iϕ are, respectively,
Starting from the definitions (6)–(9), the following two 1.4 and 9.4. Considering the entire frequency range, from sim-
indices in have been used to characterize improvements ulations, it comes that the compensated CT has mean quadratic
introduced by the filter; they describe the relative mean values for the ratio error and phase displacement of 1.86% and
quadratic improvements, respectively, in ratio error and phase 121.4 mrad, respectively; the original CT has mean quadratic
displacement: values for the ratio error and phase displacement of 47.28%
 
1 Nf 2 and 353.9 mrad, respectively. Thus, the chosen filter introduces
ΔR 2 Nf k=1 [ΔR(fk )] improving factors of 25.4 in ratio error and 2.9 in phase
IR = =  (10)
ΔRC 2 1 Nf 2 displacement. In Table II, the performance of the CT and that
N k=1 [ΔR C (fk )]
 f  f of simulated the compensated CT are summarized. Fig. 4 shows
1 N 2
Δϕ2 Nf k=1 [Δϕ(fk )] the magnitude (first subgraph) and the phase (second subgraph)
Iϕ = =  . (11) frequency response of the filter and the inverse of the CT. The
Δϕ2C 1 Nf 2
Nf k=1 [ΔϕC (fk )] results underline the compatibility between the inverse of the
GALLO et al.: REAL-TIME DIGITAL COMPENSATION OF CURRENT TRANSFORMERS OVER A WIDE FREQUENCY RANGE 1123

Fig. 4. Magnitude and phase frequency response of the filter and that of the
inverse of the CT.
Fig. 6. Photo of the experimental setup.
TABLE III
FREQUENCY RESPONSES OF THE CT AND THE device, thus offering the possibility of being employed in any
SIMULATED COMPENSATED CT measuring system.
The utilization of FPGA resources for the implementa-
tion of the filter is given as follows: BUFGMUXs = 2,
External IOBs = 227, LOCed IOBs = 227, MULT18X18s = 5,
RAMB16s = 1, and SLICEs = 891.
The compensated CT has then been characterized with the
same measuring station described in Section III, but now,
the sampling frequency is fixed at 100 kHz. A photo of the
experimental setup is shown in Fig. 6.
In Section V-A and B, two kinds of experimental tests are
shown. The first one is focused on finding out the ratio error and
phase displacement of the compensated CT. In the second one,
the performance of the CT and that of the compensated CT are
compared in practical situations, with test waveforms affected
by typical power quality phenomena disturbances. All the tests
Fig. 5. Block scheme of the compensated CT.
have been performed with the compensated CT provided with
an FPGA board, which implements compensation filter in
real time.
experimental CT and the filter frequency response. Table III
summarizes, in a tabular form, Fig. 4.
A. Ratio Error and Phase Displacement of the
Compensated CT
V. E XPERIMENTAL R ESULTS
For verification of the compensated CT, to find the ratio error
To perform experimental verification of the filter, which was and the phase displacement, tests similar to those described
designed in the previous section, a compensating device has in Section III have been performed. Sinusoidal waveforms
been implemented with a real-time digital processor, which with CT rated current amplitude and frequency variable in
is opportunely equipped with ADCs and DACs. For the case the range of 1–40 000 Hz have been generated: a number of
in question, an FPGA board has been used. Its features are: 100 frequency test points have been chosen. The frequency
1) Xilinx Virtex-II 1 megagate FPGA with 16 BUFGMUXs, range has been limited to 40 kHz due to the adopted low-cost
324 external IOBs, 227 LOCed IOBs, 40 MULT18X18s, hardware.
40 RAMB16s, and 5120 SLICEs [24]; 2) a clock rate equal Fig. 7 shows, in the first subgraph, ratio errors of the CT and
to 40 MHz; 3) 96 digital lines; 4) eight analog inputs, with the compensated CT; in the second subgraph, there is a zoom,
independent sampling rates up to 200 kHz, 16-bit resolution, over the range 10–10 000 Hz, of curves in the first one.
and ±10 V; and 5) eight analog outputs, with independent The mean squared values of ratio errors are 25.4% for the CT
update rates up to 1 MHz, 16-bit resolution, and ±10 V. The and 1.6% for the compensated CT, resulting in an improvement
block scheme of the compensated CT is shown in Fig. 5, where factor of about 16. These experimental values are consistent
I1 is the primary current, I2 is the secondary current, V2 is the with the experimental results in Section III and simulation
voltage across the shunt at the secondary winding, V2k is the results in Section IV. In fact, here, the ratio error of the CT is

sampled version of V2 , V2k is the filtered version of V2k , and V2∗ smaller than that in Section IV, but it does not include frequency

is the analog version of V2k and the output of the compensated points from 40 to 50 kHz, which are the most critical points.
CT. This way, the compensated CT continues to be an analog The same notes are valid for the compensated CT.
1124 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 59, NO. 5, MAY 2010

TABLE IV
RATIO ERRORS AND PHASE DISPLACEMENTS
OF THE CT AND THE C OMPENSATED CT

TABLE V
PARAMETERS OF THE WAVEFORM USED IN THE FIRST TEST
Fig. 7. Ratio errors of the CT and the compensated CT over the entire
frequency range (first subgraph) and over the range of 10–10 000 Hz.

also valid for phase displacements. Table IV summarizes Figs. 7


and 8 in a tabular form.
In most situations, the time delay can be neglected, as it is
explained in the following. First, the presence of the time delay,
even if it causes a worsening in phase displacement, does not
produce distortion in transduced waveforms, thus preserving
their shape. Then, if the transduced signal has spectral compo-
nents under a frequency of 1 kHz, as in most of the conducted
disturbances, the time delay does not influence transduction
in a significant way. Instead, the most critical usage of such
a compensated CT is in power measurement, which is very
Fig. 8. Phase displacements of the CT and the compensated CT without (first
subgraph) and with (second subgraph) compensation of time delay. sensitive to phase displacements of both voltage and current
transducers. If the compensation device is equipped with two
Some considerations stem from analyzing Fig. 7. First, ratio or more analog input and output channels, it can be used to
errors are close to zero at 50 Hz. Then, the ratio error of the CT compensate frequency responses of both CTs and VTs. This
is in the range of ±0.5% from 25 to 800 Hz: over this range, way, compensated CTs and VTs have the same time delay, and
it maintains its original accuracy class. The ratio error of the its effect is systematically eliminated.
compensated CT, instead, is in the range of ±0.5% from 25 Hz
to 30 kHz, and it is always smaller than ratio error of the CT.
B. Practical Situations: Examples of Power
Fig. 8 shows, in the first subgraph, phase displacements of the
Quality Phenomena
uncompensated and compensated CTs: the contribution of time
delay, which was introduced by the compensation device, to In this section, the performance of uncompensated and com-
phase displacement is evident. In fact, the digital compensation pensated CTs is tested in some practical situations, when power
has a time delay: it is due to the analog-to-digital conversion quality phenomena apply.
time, the execution time of calculation related to the filter appli- As it has been said before, the CT maintains its original
cation, and the digital-to-analog conversion time. Therefore, the accuracy class, i.e., ±0.5%, over the frequency range from 25
analog transfer function of the compensation device does not to 800 Hz. Therefore, first, compensation performance has to
correspond to that of the digital filter implemented on the FPGA be tested in this range.
board, since the time delays add to its phase frequency response A typical distorted current waveform of a nonlinear single-
a linear term decreasing with frequency, as it is highlighted in phase circuit is taken from IEEE standard 1459 [25]. The
[8]. For the considered implementation, the time delay is equal fundamental frequency is 50 Hz and the rms of the fundamental
to 10.15 μs. After a simple postprocessing, which is finalized component is 6 A. Relative amplitudes and phase angles of
to eliminate the contribution of time delay, it results in the harmonic components are detailed in Table V. Fig. 9 shows
second subgraph of Fig. 8. The mean squared values of phase waveforms, with normalized amplitude, transduced by the ref-
displacements are 323.8 mrad for the CT and 590.4 mrad for the erence shunt, the uncompensated CT, and the compensated
compensated CT, resulting in an improvement factor of 0.55. CT in the first subgraph; in the second, the errors of the
Eliminating the contribution of time delay, the phase displace- uncompensated and compensated CTs are shown. As it can be
ment of the compensated CT is 37.1 mrad, corresponding to an seen, the maximum error of the compensated CT is 1%, while
improvement factor of about 9. The same considerations made that of the CT is 3%.
for ratio errors about the consistency of the experimental values The second test is aimed to confirm effectiveness of com-
presented in this section with those in Sections II and IV are pensation at frequencies lower than the industrial frequency.
GALLO et al.: REAL-TIME DIGITAL COMPENSATION OF CURRENT TRANSFORMERS OVER A WIDE FREQUENCY RANGE 1125

TABLE VI
PARAMETERS OF THE WAVEFORM USED IN THE THIRD TEST

Fig. 9. First test: current waveform with fundamental and harmonic


components.

Fig. 11. Third test: fundamental component and high-order harmonics.

VI. C ONCLUSION
In this paper, a real-time digital method for the compensation
of CTs in the frequency range of 1–40 000 Hz, based on field-
Fig. 10. Second test: fundamental component and two interharmonics at 5 and
25 Hz. programmable gate arrays, has been presented. It is based on
the identification of a digital filter, with a frequency response
Therefore, the current waveform presenting interharmonics has equal to the inverse one of the CT, implemented on an FPGA
been used. The fundamental frequency is 50 Hz and the rms board, which is opportunely equipped with ADCs and DACs.
of the fundamental component is 6 A. Two interharmonic Experimental results have shown that the performance of the
components have been added to the fundamental tone: they compensated CT is better than the performance of the original
have frequencies of 5 and 25 Hz, amplitudes of 5% of the CT over the entire frequency range; the ratio error increases by
fundamental tone, and zero phase. Fig. 10 show waveforms, a factor of about 16, and the phase displacement increases by a
with normalized amplitude, transduced by the reference shunt, factor of about 9, accounting for time delay compensation. Such
the uncompensated CT, and the compensated CT in the first improvements are obtained with a fourth-order filter, which can
subgraph; in the second, errors, with respect to the reference be executed in real time even on low-cost microcontrollers. In
shunt, of uncompensated and compensated CTs are shown. As addition, a low computational burden allows adopting only one
it can be seen, the maximum error of the compensated CT is compensation device for compensating a set of CTs and VTs
1%, while that of the CT is 6%. for measurements on three-phase systems.
The third test is aimed to confirm the effectiveness of com- The compensated CT has been tested in some practical sit-
pensation at frequencies higher than the industrial frequency. uations, with test waveforms affected by typical power quality
Therefore, the current waveform presenting high-order harmon- phenomena. Its performance is always better than those of the
ics has been used. The fundamental frequency is 50 Hz and original CT.
the rms of the fundamental component is 6 A. Five harmonic Another important consideration is that if the compensation
components have been added to the fundamental tone: their device accidentally goes off, as it does not modify CT opera-
parameters are shown in Table VI. Fig. 11 shows waveforms, tion, the uncompensated CT output can still be adopted and all
with normalized amplitude, transduced by the reference shunt, connected devices keep operating normally, and it does not alter
the uncompensated CT, and the compensated CT in the first measurement and protection chains of electrical systems.
subgraph; in the second, errors, with respect to reference shunt,
of uncompensated and compensated CTs are shown. As it can
be seen, the maximum error of the compensated CT is 2%, R EFERENCES
while that of the CT is 18%. [1] P. Daponte, “Electronically compensated current transformer modelling,”
In all the tests, the performance of the compensated CT is Measurement, vol. 15, no. 4, pp. 213–222, Jul. 1995.
[2] N. Locci and C. Muscas, “A digital compensation method for improving
better than the performance of the original CT, both at low and current transformer accuracy,” IEEE Trans. Power Del., vol. 15, no. 4,
high frequencies. pp. 1104–1109, Oct. 2000.
1126 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 59, NO. 5, MAY 2010

[3] N. Locci and C. Muscas, “Hysteresis and eddy currents compensation in [23] Testing and Measurement Techniques—Power Quality Measurement
current transformers,” IEEE Trans. Power Del., vol. 16, no. 2, pp. 154– Methods, IEC EN 61000-4-30, Nov. 2003.
159, Apr. 2001. [24] Xilinx web site. [Online]. Available: www.xilinx.com
[4] D. Slomovitz, “Electronic system for increasing the accuracy of in-service [25] IEEE Draft Standard Definitions for the Measurement of Electric Power
instrument-current transformers,” IEEE Trans. Instrum. Meas., vol. 52, Quantities Under Sinusoidal, Nonsinusoidal, Balanced, or Unbalanced
no. 2, pp. 408–410, Apr. 2003. Conditions, P1459/D3, Nov. 2008.
[5] A. Baccigalupi and A. Liccardo, “Low-cost prototype for the electron-
ically compensation of current transformers,” IEEE Sensors J., vol. 9,
no. 6, pp. 641–647, Jun. 2009.
[6] A. Cataliotti, D. Di Cara, A. E. Emanuel, and S. Nuccio, “A novel ap- Daniele Gallo (M’00) was born on August 4, 1974.
proach to current transformer characterization in the presence of harmonic He received the Laurea degree in electronic engi-
distortion,” IEEE Trans. Instrum. Meas., vol. 58, no. 5, pp. 1446–1453, neering and the Ph.D. degree in electrical energy
May 2009. conversion from the Second University of Naples,
[7] D. Gallo, C. Landi, and M. Luiso, “Large bandwidth compensation of Aversa, Italy, in 1999 and 2003, respectively.
current transformers,” in Proc. IEEE Int. I2 MTC, Singapore, May 5–7, He is currently a Researcher with the Department
2009, pp. 86–91. of Information Engineering, Second University of
[8] D. Gallo, C. Landi, and M. Luiso, “Compensation of current transformers Naples. His main scientific interests are related to the
by means of field programmable gate array,” Metrology and Measurement setup of digital measurement instrumentation and the
Systems, vol. XVI, Number 2/2009, Index 330930, ISSN 0860-8229. handling of automatic measurement systems.
[Online]. Available: www.metrology.pg.gda.pl
[9] D. A. Douglass, “Current transformer accuracy with asymmetric and high
frequency fault currents,” IEEE Trans. Power App. Syst., vol. PAS-100,
no. 3, pp. 1006–1012, Mar. 1981. Carmine Landi (M’96) was born in Salerno, Italy,
[10] IEEE Standard Requirements for Instrument Transformers, IEEE Std. in 1955. He received the B.S. degree in electrical
C57.13-1993, 1994. engineering from the University of Naples, Naples,
[11] Instrument Transformers—Part 1: Current Transformers, IEC Std. Italy, in 1981.
60044-1, 2000. From 1982 to 1992, he was an Assistant Profes-
[12] J. Kaipio and E. Somersalo, Statistical and Computational Inverse Prob- sor of electrical measurement with the University
lems, ser. Applied Mathematic Sciences. New York: Springer-Verlag, of Naples. From 1992 to 1999, he was an Asso-
2005. ciate Professor in electrical and electronic measure-
[13] K. Deb, Multiobjective Optimization Using Evolutionary Algorithms. ments with the University of L’Aquila, L’Aquila,
Hoboken, NJ: Wiley, 2001. Italy. Since 1999, he has been a Full Professor with
[14] A. V. Oppenheim and R. W. Schafer, Digital Signal Processing. the Department of Information Engineering, Second
Englewood Cliffs, NJ: Prentice-Hall, 1975. University of Naples, Aversa, Italy. He is the author of almost 200 international
[15] A. Banos and F. Gomez, “Parametric identification of transfer functions papers in the field of real-time measurement apparatus, ATE, high-precision
from frequency response data,” IET Comput. Control Eng. J., vol. 6, no. 3, power measurement, and power quality measurement. His main scientific
pp. 137–144, Jun. 1995. interests are related to the setup of digital measurement instrumentation, the
[16] T. F. Coleman and Y. Li, “An interior, trust region approach for nonlinear automatic testing of electrical machines such as asynchronous motors and
minimization subject to bounds,” SIAM J. Optim., vol. 6, no. 2, pp. 418– power transformers, measurement techniques for the characterization of digital
445, May 1996. communication devices, and the use of DSP for real-time measurements.
[17] J. H. Holland, “Genetic algorithms,” Sci. Amer., vol. 267, no. 1, pp. 66–73,
Jul. 1992.
[18] D. E. Goldberg, Genetic Algorithms in Search, Optimization, and Machine
Learning. Reading, MA: Addison-Wesley, 1989. Mario Luiso (S’07–M’08) was born in Naples, Italy,
[19] I. Kollar and Y. Rolain, “Complex correction of data acquisition channels on July 6, 1981. He received the Laurea degree in
using FIR equalizer filters,” IEEE Trans. Instrum. Meas., vol. 42, no. 5, electronic engineering (summa cum laude) and the
pp. 920–924, Oct. 1993. Ph.D. degree in electrical energy conversion from the
[20] A. Delle Femine, D. Gallo, C. Landi, and M. Luiso, “Power-quality mon- Second University of Naples, Aversa, Italy, in 2005
itoring instrument with FPGA transducer compensation,” IEEE Trans. and 2007, respectively.
Instrum. Meas., vol. 58, no. 9, pp. 3149–3158, Sep. 2009. He is currently a Researcher with the Department
[21] Fluke 8845A/8846A Digital Multimeters Extended Specifications. of Information Engineering, Second University of
[Online]. Available: http://fluke.informationstore.net/efulfillment.asp? Naples. His main scientific interests are related to the
publication=11152-ita setup of digital measurement instrumentation and the
[22] Voltage Characteristics of Electricity Supplied by Public Distribution handling of automatic measurement systems.
Systems, EN 50160, 1999. Dr. Luiso is a member of IEEE Instrumentation and Measurement Society.

You might also like