You are on page 1of 6

IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 50, NO.

6, DECEMBER 2003 1159

DSP- and GPS-Based Synchronized Measurement


System of Harmonics in Wide-Area
Distribution System
Hiroyuki Ukai, Member, IEEE, Koichi Nakamura, Member, IEEE, and Nobuyuki Matsui, Fellow, IEEE

Abstract—With the recent progress in power electronics devices, more complex a distribution system is, the more significant the
harmonic pollution in the power system becomes a significant harmonic analysis and compensation technologies become.
problem. Therefore, a great deal of attention has been paid to From these backgrounds the harmonic compensation method
harmonic regulations and suppression technologies. As the utility
power distribution system becomes broader and more complex, using the passive or the active power filters have received a
advanced harmonic measurement and analysis technologies are great deal of attention [3]–[6]. In the wide-area distribution
required. This paper presents the advanced measurement system system, however, it is the actual situation that the mechanism
of harmonics in a wide-area distribution system. The proposed of harmonic propagation and the harmonic model are not
measurement system has the following features. The measurement
unit at each point in the distribution system consists of a digital necessarily clear [7]. In order to precisely analyze harmonic
signal processor as a high-speed processor and a global positioning phenomena, it is dispensable to construct a high-accuracy
system as a synchronization measurement. These units as termi- measurement system. Also, each measurement system is
nals at multipoints in the distribution system are connected to the required to have a function which can synchronously measure
central monitoring station by the Internet. By using this system,
the harmonic flows in the distribution system are measured and,
harmonics at each point. The phasor measurement unit (PMU)
hence, harmonic modeling can be realized in real time. has been practically introduced for the use of synchronized
measurement keeping the stability of the power system [1]. In
Index Terms—Digital signal processor (DSP), distribution
system, global positioning system (GPS), harmonics, synchronized particular, the synchronized phasors over a wide-area power
measurement system. system are measured to evaluate the stability by using the PMU.
In the present paper, we extend the concept of the PMU to the
harmonic analysis. We propose the advanced monitoring system
I. INTRODUCTION
of harmonics and the harmonic modeling technique. For this

R ECENT progress in power electronics technologies has


caused a serious problem of harmonic pollution in power
systems. In Japan, as is well known, “the guideline for harmonic
purpose, in the first step, the high-speed and accurate measure-
ment system for harmonic analysis in a wide-area distribution
system is developed. We use a digital signal processor (DSP) as
regulations and suppressions” was declared in 1994, and many the high-speed processor and a global positioning system (GPS)
measures have been taken to cope with this situation. How- signal for synchronized measurement. In Section II, the basic
ever, it is not easy to solve the problem because the suppression concept of the proposed measurement system is explained. In
technologies are related to many factors, for example, power Section III, the details of the measurement equipment developed
capacity, harmonic characteristics, network configuration, and in this study are presented. In Section IV, the recursive digital
cost performance. Moreover, due to the recent easing of re- Fourier transform (DFT) algorithm is proposed as the harmonic
strictions on electric utilities in Japan, the participation of in- analysis method. Finally, some research developments that are
dependent power producers (IPPs) increasingly makes distribu- feasible by using the proposed system are commented upon.
tion systems more complex. Power system harmonics are cat-
egorized as the specific harmonics and the unspecific ones [2]. II. MEASUREMENT OF HARMONICS AT MULTIPOINTS IN POWER
The former are due to harmonics generated from high-voltage DISTRIBUTION SYSTEM
power demands, thus, the sources of harmonics can be specified,
which are large-capacity diode regulators, cycle converters, and In order to analyze harmonics in a wide-area distribution
so on. On the other hand, the later harmonics originate in home system, it is necessary to construct the broad area measurement
electric products, office automation apparatus, and so on. The system which enables us to synchronously measure harmonics
total amount of later harmonics is so large that they cannot be at multipoints. To this end, the real-time synchronized measure-
neglected and also cannot be easily specified. The broader and ment system is proposed. The basic concept is shown in Fig. 1.
The major purposes of this system are as follows: 1) analyzing
the harmonic propagation and 2) continuously monitoring
Manuscript received July 5, 2002; revised May 30, 2003. Abstract published
on the Internet September 17, 2003. An earlier version of this paper was pre- harmonic information. To measure harmonics propagating at
sented at the 26th Annual Conference of the IEEE Industrial Electronics Society, high speed such a surge voltage, the measurement equipment
Nagoya, Japan, October 22–28, 2000. provided the data logging with high-speed sampling is required.
The authors are with Nagoya Institute of Technology, Nagoya 466-8555,
Japan (e-mail:ukai@elcom.nitech.ac.jp). Also, harmonics OF at least two distinct points have to be
Digital Object Identifier 10.1109/TIE.2003.819660 measured at the same time. On the other hand, by continuously
0278-0046/03$17.00 © 2003 IEEE

Authorized licensed use limited to: Universidad Industrial de Santander. Downloaded on July 31,2022 at 02:58:30 UTC from IEEE Xplore. Restrictions apply.
1160 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 50, NO. 6, DECEMBER 2003

Fig. 1. Broad monitoring system of harmonics.

monitoring harmonic information at the same time and also at


multipoints in the wide-area distribution system, it is possible
to obtain a harmonic model in real time. To this end, harmonic
information at each point has to be concentrated at the central
monitoring station by a communication system.
In Fig. 1, each terminal unit is assigned to each node or a
major power receiving end and has the function of measuring
and processing voltage and current signals in real time. It con-
sists of a GPS for time synchronization, a DSP for real-time
analysis of harmonics, and a communication modem. The mea-
sured or analyzed harmonic data are transferred to the central
monitoring station with the absolute time data. The center mon-
itoring station is comprised of the communication modem and
the high-end processor which analyzes and visualizes harmonic
information from terminal units. The communication measures
connecting the central station and the terminal units are, for
example, the Internet, a dedicated telephone line, optical fiber
cable, personal handyphone system (PHS), and so on.

III. SYSTEM DESCRIPTION Fig. 2. System configuration.

The configuration of the high-speed and high-accuracy syn- TABLE I


chronized measurement of harmonics using the DSP and GPS SPECIFICATION OF ADC
is shown in Fig. 2. The system is an on-board type inserted into
the PCI bus slot of the PC. The board is the long card size with a
length of 312 mm and width of 106.68 mm. The system consists
of four units: the measuring and processing unit (ADC/DAC and
DSP), the main control unit (Host PC), the time-synchroniza-
tion unit (GPS receiver, and the high-resolution interval timer),
and the data-transmission unit. In the following, we explain the
specifications and the features of each unit in detail.

A. Measuring and Signal Processing


The instantaneous values of voltage and current are input to
the A/D converters through the potential transformer (PT) and
the current transformer (CT). In this system, there are four A/D
converters: one is the fast-sampling converter, and the others
are the medium-speed sampling converters with two channels. is required to log harmonic data as quickly as possible. For ex-
The specifications of each converter are shown in Table I. The ample, in order to analyze the propagation of the harmonic wave
fast-sampling ADC is equipped only for data acquisition, which at two distinct points 300 m away from each other, at least 1 s

Authorized licensed use limited to: Universidad Industrial de Santander. Downloaded on July 31,2022 at 02:58:30 UTC from IEEE Xplore. Restrictions apply.
UKAI et al.: DSP- AND GPS-BASED SYNCHRONIZED MEASUREMENT SYSTEM OF HARMONICS IN WIDE-AREA DISTRIBUTION SYSTEM 1161

TABLE II
SPECIFICATION OF DSP

is required for the sampling period. For this purpose, 960 kHz Fig. 3. Configuration of HRITG.
is realized as the maximum sampling frequency. On the other
hand, the medium-speed sampling ADCs are equipped to ana- TABLE III
lyze both three-phase voltage and current. Their sampling fre- SPECIFICATION OF VCO
quency is 120 kHz. The fast sampling is made possible by using
the feedback control circuit phase locked to the GPS clock,
which will be explained in the following section. Each A/D con-
verter has an antialiasing low-pass filter, which is designed to
satisfy each measurement purpose stated above. The cutoff fre-
quencies are 1.5 and 15 kHz, respectively.
On the other hand, the sampled data through the ADC
are transferred to the internal RAM of the DSP by the direct
memory access (DMA) interrupt. Several harmonic data are
calculated at the CPU from these sampled data. The specifica-
tions of the DSP used in this system is shown in Table II. The
DSP is well known as a high-speed processor with low cost and
low power consumption, and has the following architecture.
1) The Harvard architecture shares the data bus and the ad-
dress bus. Therefore, the execution of the arithmetic logic
unit (ALU) is done in parallel with the decoding program.
2) Program and data are separately assigned in two internal
2-port RAMs.
3) DMA data transfer is adopted.

B. Time Synchronization Fig. 4. Transient response of frequency error.

The GPS receives a pulse per second (1p/s) from the GPS
satellites synchronizing to the universal time coordinate (UTC) The error bits between the output frequency from the VCO
with high accuracy( 100 500 ns per 1 p/s). The absolute and the nominal frequency of the VCO (30.72 MHz) is counted
time information can be obtained from all around the world. By by the 12 –bit error counter. The least significant bit corresponds
using the GPS clock as the external sampling clock of the ADC, to 1 Hz. The error data are latched at the timing of 1p/s inter-
the synchronized measurement is realized at multipoints in the rupted by the GPS receiver, and then are sent to the DSP for PI
distribution system. control calculation. In the DSP, the controlled output cor-
In this paper, the GPS signal is also used to guarantee the responding to the error is calculated by the following equation:
accuracy of the fast sampling of the ADC in the following way.
The accuracy of a commercial crystal-controlled oscillator is
usually about 30 s per second. Since our requirement for the (1)
sampling accuracy is less than 1 s, it leads a large error if we
directly use this oscillator as the sampling timer. Therefore, in The controlled output of the PI controller is input to the VCO
this paper, we developed the high-resolution interval timer using through the DAC. The transient response is shown in Fig. 4. As a
the GPS clock (HRITG), as shown in Fig. 3. The specifications result, by choosing the proportional gain and the integral gain
of the quarts-crystal oscillator used in this paper are presented appropriately, we can realize the accuracy of 30.72 MHz
in Table III. The oscillation frequency of this oscillator can be 1 Hz( 32.5 ns per second) for 1p/s. Furthermore, this circuit
controlled by the external voltage voltage-controlled oscillator is compactly constructed by adopting the programmable logic
(VCO). device (PLD).

Authorized licensed use limited to: Universidad Industrial de Santander. Downloaded on July 31,2022 at 02:58:30 UTC from IEEE Xplore. Restrictions apply.
1162 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 50, NO. 6, DECEMBER 2003

Fig. 5. Data transmission from DSP to PC memory.


Fig. 6. Visualization of harmonics at terminal point.

C. Data Transmission Between DSP and PC


we developed by using C++ language, it is freely capable of
The harmonics data calculated in the DSP are transferred to changing these details.
memory in the host PC through the PCI bus. Since the pro-
grams of the DSP and PC are independent each other, in order E. Communication Channel
to transfer the data of the DSP to the PC, cooperation between
Each piece of harmonic data is post-processed in the host PC
the DSP and PC is necessary. The processes in the DSP are as
and/or is transmitted to the central monitoring station through
follows:
the communication modem. As the case study, we will recom-
1) calculating for given data; mend the data transmission system by the Internet, which is re-
2) writing into RAM1; alized by using JAVA language. JAVA language is widely used
3) flagging when finish writing into RAM1; on the World Wide Web (WWW) and has the following charac-
4) recalculating for next given data; teristics.
5) writing into RAM2;
6) flagging when finished writing into RAM2. 1) Safety in operation—Since JAVA has no pointer, there
On the other hand, the processes in the PC are as follows: are no errors in referring the pointer compared with C
language.
1) continuing to watch the flag on RAM of DSP;
2) Multi-sled (parallel processing)—JAVA supports the
2) transferring data of RAM1 to RAM on PC after the con-
multi-sled function which can execute multi processing
firmation of finishing writing into RAM1;
at the same time. This facilitates the parallel processing
3) transferring the data to HDD on PC;
4) continuing to watch the flag on RAM of DSP; of the data transmission and the data visualization.
5) transferring data of RAM2 to RAM on PC in confirmation 3) Exceptional process—By using this function, the pro-
of finishing writing into RAM2; gram can be resumed without system failure at the un-
6) transferring the data to HDD on PC. expected cutting of network.
Fig. 5 shows the flowchart of these processes. As described 4) Interpretive program—On the other hand, the byte-code
above, by the flag on the RAM in the DSP, the PC is able to do file of JAVA is generated for the virtual machine, thus,
parallel processing with the process of the DSP. execution speed is slower than with a compiling program
like C language.
D. Main Control Unit (PC) The network application of JAVA is based on the client-server
The roles of the PC as the main control unit are as follows: model. In our case, the client corresponds to the terminal mea-
surement system and the server the central monitoring station.
1) loading the program for DSP;
Data communication between the client and the server are ex-
2) giving order to start program for DSP;
3) setting the start time of measurement; ecuted by using stream sockets, where TCP/IP is used as the
4) sending start signal of calculation following the time data communication protocol.
of GPS;
5) saving the result data of DSP into HDD; IV. REAL-TIME HARMONIC ANALYSIS USING RECURSIVE DFT
6) showing the result data on display. In this section, we explain a computational algorithm to re-
Fig. 6 shows an instance of a displayed waveform. The kinds alize the high-speed processing of harmonic data. The algo-
of data shown are instantaneously value, primary, tertiary, 5th, rithm, the recursive DFT, is based upon the DFT, and the re-
7th, and 9th harmonic value. The repaint cycle of the display cursive form of the algorithm is far more useful for real-time
is about 1 s. Of course, by rewriting the PC program, which analysis of harmonics.

Authorized licensed use limited to: Universidad Industrial de Santander. Downloaded on July 31,2022 at 02:58:30 UTC from IEEE Xplore. Restrictions apply.
UKAI et al.: DSP- AND GPS-BASED SYNCHRONIZED MEASUREMENT SYSTEM OF HARMONICS IN WIDE-AREA DISTRIBUTION SYSTEM 1163

Let be the number of samplings during one cycle. As is


well known, given the time sequence data (
), the th-order DFT spectrum is given by

(2)

By using the following expression:

(3)

(2) can be rewritten as follows: Fig. 7. Recursive DFT algorithm.

(4)

Let the th sampled data of the th-order DFT spectrum be


described by

(5)

In the same way the ( )th sampled data are described by

Fig. 8. Frequency response of DFT.

(6)
Equation (8) is rewritten as
Subtracting (5) from (6) leads to the following equation:

(7) (9)
By using the following relation:
The spectrum value is computed using both the real part and
imaginary part of (9). However, computation of the square root
takes much time. If the frequency of the wave to be analyzed is
(7) is rewritten as
constant, the value of the real part becomes zero when a spec-
trum analysis is begun from the zero crossing. In the usual case,
(8)
since the frequency is almost constant, the value of the real part
can be neglected. By such an approximation, we can make the
This equation yields the recursive relation between and
time of calculation shorter.
. The basic idea of the recursive DFT is that the in-
Moreover, the gain frequency response of DFT has the char-
stantaneous fluctuation of a harmonic wave form is measured
acteristics of the comb filter and bandpass filter with width of
by moving the window at each sampling period, as shown in
33 Hz, as shown in Fig. 8. However, this algorithm is based
Fig. 7 where (voltage) and .
on the assumption that the fundamental frequency is constant.
The spectral value of one harmonic in the computing process
In the practical case, the power frequency is slightly changing.
is obtained by only three steps; that is, two subtractions and one
Therefore, it is necessary to compensate for the error due to the
multiplication. Hence, it means that the algorithm is suitable
fluctuation of frequency in order to analyze more exactly [8].
for a DSP. The recursive DFT algorithm is suitable to analyze
some kind of wave form with constant frequency. DFT or fast
Fourier transform (FFT) usually need number of subsequent V. CONCLUDING REMARKS
data in computing the spectral values in the frequency domain. In this present paper, we have proposed the advanced syn-
The larger the data number , the more precisely the spectral chronized measurement system of harmonics in wide-area dis-
values can be analyzed. However, a large number of data needs tribution systems. In this system, a DSP is used as the high-
a long computing time. On the other hand, the recursive DFT speed processor and a GPS for time synchronization at multi-
algorithm requires only one renewal and updated data in com- points. Moreover, in order to realize the high-speed sampling,
puting one spectral value without using number of the subse- the HRITG clock is designed. On the basis of these hardware
quent data. Therefore, even if the data number becomes large, structures, the recursive DFT is used as the analysis algorithm
the computing time is consequent. of harmonics. This recursive algorithm benefits the real-time

Authorized licensed use limited to: Universidad Industrial de Santander. Downloaded on July 31,2022 at 02:58:30 UTC from IEEE Xplore. Restrictions apply.
1164 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 50, NO. 6, DECEMBER 2003

computation at the high-speed sampling. By using this system [10] T. Kani, Y. Ota, H. Ukai, K. Nakamura, M. Aoki, and M. Uehara, “De-
the analysis of harmonic propagation is possible. At the same velopement of multi-function measurement system for power system
quality,” in Proc. 3rd Int. Workshop Signal Processing Applications and
time, by practical measurement in the utility power distribution Technology, 2002, pp. 53–57.
systems, harmonic modeling is also possible. In future work,
harmonic analysis and compensation technologies can be de-
veloped by calculation of harmonic power flow and harmonic
impedance.
As mentioned in Section I, power systems have become larger Hiroyuki Ukai (M’99) received the B.A.Sc., S.M.,
and Ph.D. degrees in engineering from Nagoya In-
and more complex. Also, power quality diversifies in correspon- stitute of Technology, Nagoya, Japan, in 1977, 1979,
dence to various power utilities. In order to correspond to such a and 1994, respectively.
new electric energy environment, the management of technolo- He is currently an Associate Professor in the
Graduate School of Engineering, Nagoya Institute
gies of electric energy is required. The harmonic analysis tech- of Technology, Nagoya, Japan. His current reaserch
nology is also one of them. The proposed system in this paper interests include control theory of distributed
also enables us to apply various fields of power systems, for ex- parameter systems and control application to power
systems, robotics, and mechanical systems.
ample, the generator dropping control, the transient analysis, the Dr. Ukai is a Member of the Institute of Electrical
adaptive protection relay, and so on [9], [10]. Engineers of Japan and the Society of Instrument and Control Engineers.

REFERENCES
[1] A. G. Phadke and J. S. Thorp, “Improved control and protection of power
systems through synchronized phasor measurements,” in Control and
Dynamic Systems, Advances in Theory and Applications. New York: Koichi Nakamura (M’89) received the B.A.Sc. de-
Academic, 1991, vol. 43, pp. 335–376. gree in engineering from Nagoya Institute of Tech-
[2] Y. Akagi, “Power electronics technologies corresponding with power nology, Nagoya, Japan, in 1966, and the Ph.D. degree
system harmonic regulations” (in Japanese), Trans. Inst. Elect. Eng. from Nagoya University, Nagoya, Japan, in 1979.
Jpn., vol. 115–D, no. 9, pp. 1089–1091, 1995. He is currently a Professor in the Graduate School
[3] Y. Akagi and T. Ikeda, “Modeling and harmonic damping effect of of Engineering, Nagoya Institute of Technology,
shunt active filters for dispersive installation on power distribution Nagoya, Japan. His current research interests include
systems” (in Japanese), Trans. Inst. Elect. Eng. Jpn., vol. 116–B, no. the physics of lightning, energy management sys-
11, pp. 1388–1396, 1996. tems, and signal processing applications to electric
[4] K. Wada et al., “Experimental verification of the effect of a voltage- systems.
detection-based shunt active filter for harmonic damping throughout a Dr. Nakamura is a Member of the Institute of Elec-
power distribution line” (in Japanese), Trans. Inst. Elect. Eng. Jpn., vol. trical Engineers of Japan and the Society of Instrument and Control Engineers.
119–B, no. 2, pp. 204–211, 1999.
[5] K. Oku, O. Nakamura, and K. Uemura, “Measurement and analysis of
harmonics in distribution systems and development of harmonics sup-
pression method” (in Japanese), Trans. Inst. Elect. Eng. Jpn., vol. 114–B,
no. 3, pp. 234–241, 1994.
[6] S. J. Huang and J. C. Wu, “Design and operation of cascaded active Nobuyuki Matsui (M’89–SM’00–F’02) received the
power filters for the reduction of harmonic distortions in a power B.S. and M.S. degrees in electrical engineering from
system,” Proc. IEE—Gen. Transmission Distrib., vol. 146, no. 2, pp. Nagoya Institute of Technology, Nagoya, Japan, in
193–199, 1999. 1966 and 1968, respectively, and the Ph.D. degree
[7] H. Yan et al., “Experimental test of a load model in the presence of from Tokyo Institute of Technology, Tokyo, Japan, in
harmonics,” Proc. IEE—Gen. Transmission Distrib., vol. 146, no. 2, pp. 1976.
186–192, 1999. Since 1968, he has been with the Department of
[8] K. Nakano, Y. Ota, H. Ukai, K. Nakamura, and H. Fujita, “Frequency de- Electrical and Computer Engineering, Nagoya Insti-
tection method based on recursive DFT algorithm,” in Proc. 14th Power tute of Technology, where he is currently a Professor
System Computation Conf., 2002, CD-ROM. and is engaged in research and education on power
[9] Y. Ota et al., “Real-time synchronized measurement system of state vari- electronics and motion control. He was a Vice Presi-
ables in electric power system by using DSP and GPS” (in Japanese), dent of Nagoya Institute of Technology during 2000–2002.
Trans. Soc. Signal Process. Applicat. Technol. Jpn., vol. 3, no. 3, pp. Dr. Matsui is a Member of the Institute of Electrical Engineers of Japan and
20–25, 2000. the Society of Instrument and Control Engineers.

Authorized licensed use limited to: Universidad Industrial de Santander. Downloaded on July 31,2022 at 02:58:30 UTC from IEEE Xplore. Restrictions apply.

You might also like