Professional Documents
Culture Documents
3, Septcmber 1991 36 1
ABSTRACT
TURBINE-
GENERATOR UNIT
- POWER
SYSTEM
-__-
362
negative to positive (or from positive t o negative) in a frequency during t h e normal generation operation but
u n i t time (e.g. per second). also h a s t o measure t h e frequency during t h e s t a r t - u p
D e f i n i t i o n 2 The period of a n alternating signal i s t h e and shut-down operations. During t h e start-up, t h e
time t h e signal t a k e s from one zero-level crossing to output voltage is produced by t h e residual magnetism
t h e n e x t zero-level crossing i n t h e same direction. from previous excitation and is v e r y low. The ratio of
The period i s inversely proportional to the t h e isolation transformer should be small. But a f t e r t h e
frequency. Obviously, t h e frequency of a n alternating s t a r t - u p and t h e excitation of t h e generator, t h e
signal can be obtained i n two ways based on t h e two output voltage of t h e generator goes up t o t h e normal
definitions above: value and t h e o u t p u t voltage of t h e p t is 220V (or
1lOV). So t h e voltage limiter i s necessary i n t h i s case.
1) Counting t h e number of times of zero-level The limited signal (point 2 i n Fig. 3) i s shaped by
crossing i n t h e same direction in a u n i t time. The a low offset voltage comparator. The output of t h e
frequency, f , equals t h i s number. comparator (point 3 i n Fig. 3) i s a square wave. It can
2) Measuring t h e time, T. from one zero-level be adapted t o TTL or CMOS circuitry. Then t h e
crossing to t h e n e x t zero-level crossing in t h e same frequency i s divided by 2. The divider is composed of a
direction. The frequency i s t h e n equal t o 1/T. D flip-flop. The t r u e output of t h e D flip-flop (point 4
in Fig. 3 ) goes t o t h e Gate pin of t h e timer (Intel
The f i r s t method i s ideal for measuring high 8253/8254). I t s rising edge s t a r t s t h e timer and t h e
frequency with slow change. Generally, t h e second falling edge stops t h e timer. During t h e timing, t h e
method is more s u i t a b l e for low frequency. The timer counts t h e pulse of t h e Clk (point 1 in Fig. 3, a
frequency of electric power systems i s low. Moreover, constant high frequency signal generated by a crystal).
its change i n two consecutive cycles can be relatively The false output of t h e D flip-flop (point 5 in Fig.
f a s t . Therefore, t h e second method is more suitable for 3 ) is connected to t h e i n t e r r u p t controller (Intel 8259).
t h i s application IS]. Basically, t h e idea is t o use one The falling edge of t h e t r u e output of t h e D flip-flop
crossing of zero level from negative t o positive (or happens a t t h e same time a s t h e rising edge of t h e
from positive t o negative) t o start a "stopwatch" and false output of t h e same D flip-flop. So t h e
t o use t h e n e x t zero-crossing i n t h e same direction t o microprocessor is interrupted ( point 7 i n Fig. 3) as
stop t h e "stopwatch", and so on. The time shown on t h e soon as t h e timer i s stopped. The microprocessor picks
"stopwatch" i s t h e period T. Then f equals 1/T. With up t h e timing result and reloads t h e timer, and s o on.
microprocessor t h i s conversion i s very simple. The timer used is a 16-bit device. The lowest
The principle of t h i s frequency measurement frequency which can be measured by t h i s transducer is:
approach i s shown i n Fig. 2. A voltage comparator iS
used to shape t h e a l t e r n a t i n g signal to a logic signal f1=fc/65535 (1)
(square wave). Then t h e frequency is divided by 2. The
t r u e output of t h e divider i s connected t o t h e control where, fc i s t h e clock frequency.
input of t h e timer ( t h i s control input is called gate A wide frequency measuring range iS very
signal on Intel programmable interval timer 8253/8254). important for improving t h e performance of t h e s t a r t - u p
A t t h e rising edge of t h e g a t e signal, t h e timer s t a r t s and t h e shut-down of t h e generating unit. The
timing. A t t h e falling edge, t h e timer stops timing and measuring range can be extended in two ways. One iS
outputs t h e timing r e s u l t . The output of the timer is t o use two channels of Intel 8253/8254 for t h e
t h e period. The period i s converted t o frequency. measurement of each frequency. The two channels
(channel 1 and 2) a r e connected serially t o form a 32-
b i t timer, e.g. t h e Out pin of channel 1 is connected t o
t h e Clk pin of channel 2 and t h e two Gate pins a r e
tied together.
Another way is t h e method used in t h i s paper (Fig.
3). The Out signal of t h e timer (point 6 in Fig. 3) is
Figure 2 Principle o f F r e q u e n c y Measurement connected t o t h e i n t e r r u p t controller. When t h e timer
overflows, t h e microprocessor adds 1 t o a n extending
Theoretically, t h e positive half wave and the counter i n RAM and reloads t h e timer. In t h i s way. t h e
negative half wave of t h e voltage (or t h e current) in lowest frequency which can be measured by t h i s
a n electric power system should be symmetrical. The circuitry mainly depends on t h e voltage output of t h e
output of t h e voltage comparator could be used a s t h e generator, e.g. if t h e voltage output of t h e generator is
g a t e signal of t h e timer and t h e output of t h e timer i s high enough, i t c a n measure frequency as low as
one half period. However, t h i s condition can not always desired.
be relied upon i n t h e practical systems because of t h e Generally, higher resolution can be obtained with
possibility of physical asymmetry among t h e armatures higher clock frequency. But t h e Out i n t e r r u p t should
of generators and t h e flotation of neutral point in t h e not happen around t h e supply frequency because:
electric power system.
(i) i n a r e a l time controller, t h e i n t e r r u p t is
disabled during t h e execution of some important
I11 HARDWARE IMPLEMENTATION programs. So TI (Figure 4) i n eqn. (2) below c a n not be
The circuitry for the frequency nieasurenient is shown i n determined very accurately.
(ii) t h e i n t e r r u p t is one of t h e entries of external
Fig. 3. It is adapted to an Intel 8086 microprocessor-based
disturbances t o t h e microprocessor.
system. With a slight change, it can also be adapted to other (iii) t h e time i s a very critical resource i n a real-
1nicroprocessor-b;ised systems. The numbers in circles i n this time control system. Too frequent interrupts a r e not
figure relate to Fig. 3 which shows the secpentid operation of expected.
the device.
The original signal is from the potential If no Out i n t e r r u p t happens over 45.00 Hz, t h e
transformer ( p t ) connected t o t h e terminals of t h e highest clock frequency i s about 2.95 MHz. The fc i n
generator. This signal i s f i r s t fed t o a n isolation t h e research prototype i s 1193181 Hz (CPU clock/4).
transformer to isolate t h e digital side. Then t h e
isolated signal goes through a filter and a voltage The operation of t h e timer described above shows
limiter. The filter removes t h e high frequency harmonics t h a t the frequency measurement is executed once every
from t h e signal. The voltage limiter plays a very two cycles. It can be easily modified t o one
important role. The governor n o t only measures t h e measurement per cycle by using two timers. One
363
PROGRAMMABLE
LOW OFFSET
VOLTAGE FREQUENCY TIMER
DIVIDER
-r @
r-------i COMPARATOR
t
FROM
z
P.T. TRANSFORMER. I
- T
I VOLTAGE
I LIMITER I
L ---_--_ J
4. Fault Tolerance:
d=
module a t each sampling period. The following s t e p s a r e
adopted t o implement t h e f a u l t tolerahce of frequency
measurement in each module.
RDD 1 TO ERROR COWER
\
Step 1: The frequency input by t h i s module (fi) iS
UPDATE FREQ. IN RAM
detected. If it i s normal, clear i t s error counting and
81 RESET FAULT FLAG i t s f a u l t y flag. Otherwise, add 1 t o t h e error counter.
If t h e error counting number is larger t h e n N , a f a u l t
flag for f l i s s e t .
> SET FAULT FLAG S t e p 2 The frequency input by t h e o t h e r module
(fi) is detected. If i t i s normal, clear i t s error counting
< I and i t s f a u l t y flag. Otherwise, add 1 t o t h e error
JI counter. If t h e error counting number is larger then N,
POP THE CONTENTS BACK a fault flag for fz i s s e t .
TO REGISTERS FROM STACK Step 3: When t h e error counters for fi and fz a r e
zero, t h e frequency of t h i s sampling period in this
module is: f=(fi+fz)/2. Go to s t e p 6.
Step 4: When t h e error counter for f i is zero and
Figure 6 I n t e r r u p t Subroutine of Frequency t h a t for f2 i s a non-zero positive integer, then f=fi
Measurement and vice versa. If t h e error counters for both fi and fz
are non-zero positive integer, there is no updated f in
this sampling period.
3. Error Detection: Step 5: Display t h e f a u l t information when any
A filter is generally used in the measurement. However it f a u l t y flag h a s been s e t If both fault flags have been
usually causes considerable delay and also complicates the s e t , go to s t e p 7 .
implementation. In the duplex microprocessor-based governor, Step 6: Wait for frequency input interrupt. When
this module receives t h e frequency input interrupt, go
the error detection is used for the frequency measurement
to s t e p 1. If t h e r e is no frequency input interrupt in
instead of filter. The rule of the error detection can be time Tz. t h e two f a u l t flags will be s e t and t h e next
described as: s t e p will be executed.
Because of the inertia of the turbine and the Step 7: The alarm i s sounded and proper s t r a t e g y
365
I:CALCULATION AND
I
I
Test s t e p s and phenomena: 1) The frequency signal
t o subsystem A was c u t off b u t it remained t h e on-line
subsystem. Display indicated t h e frequency measurement
of subsystem A as faulty. 2 ) The frequency was t h e n
changed. The control output of t h e system, i.e. t h e
o u t p u t of subsystem A, responded correctly.
6. O.P.Malik, G.S.Hope a n d J.James "Digital Angular YE Luqing graduated from Huazhong University of Science and
Speed Measurement Using Waveform Sampling" IEEE Technology, Wuhan, China, in 1958, and has worked at that university
Transactions on Industrial Electronics, Vol. IE-29, Feb. since then. He worked at the Institut National Polytechnique de
1982, pp. 56-66. Grenoble and Derection des Etudes et Recherches, Electricite de France
as a visiting scientist from March 1979 to July 1981. He is professor
7. S.I.Ahson a n d M.H.Ali "A Microprocessor-Based and director of the Hydroelectric Control Engineering Laboratory in
Scheme for Torque- Angle a n d Speed Measurement of Huazhong University of Science and Technology.
Synchronous Machine" IEEE Transaction on Industrial
Electronics, Vol. IE-34, May 1987, pp. 135-138.
WE1 Shouping received the Master degree from Huazhong
8. P.N.Neild "Method of Measuring Power System University of Science and Technology in 1981. He worked at Tianjin
Frequencies" Proc. IEE, Vol. 117, J a n . 1970, pp. Institut of Electrical Control from 1962 to 1970, at Jinchengjing Works
157-160. of Hydroelectric Apparatus from 1970 to 1978. He is currently an
associate professor and deputy director of the Hydroelectric Control
9. C.T.Nguyen, K,Srinivasan "A New Technique for Rapid Engineering Laboratory at Huazhong University of Science and
Tracking of Frequency Deviations Based on Level Technology.
Crossing" IEEE Transactions on Power Apparatus and
Systems, Vol. PAS-103, Aug. 1984, pp. 2230-2236.