Title: Numerical algorithms for power system protection
1Numerical algorithms for power system protection
- Prof. dr. sc. Ante Marušic, doc. dr. sc. Juraj
Havelka - University of Zagreb
- Faculty of Electrical Engineering and Computing
- ante.marusic_at_fer.hr, juraj.havelka_at_fer.hr
- 2010/2011.
2Introduction
- Quality of digital relays depends on
- Numerical algorithm quality (software)
- Hardware quality
- General digital relay characteristics
selectivity, stability, satisfactory trip time
and sensitivity
3Lecture parts
- First part
- Types of signals
- Sampling theory
- Sampling and A/D circuits
- Numerical methods Interpolation formulas
numerical integration and differentiation, curve
fitting, Fourier analysis and digital filtering
4Lecture parts
- Second part
- Sinus wave based algorithms
- Fourier based algorithms
- Least squares based algorithms
- Differential equation based algorithms
5Lecture parts
- Third part Real time algorithm testing
- 50 Hz Signal
- Simulated short circuit
- Real short circuit
6Signal classification hierarchy
- Digital signals
- 1-0 (On Off or TTL) signal
- Pulse train (counters, timers)
- Analog signals
- DC signal (slow)
- Signal in time domain (fast)
- Signal in frequency domain
7(No Transcript)
8Basic elements of digital protection
- AD converter resolution
- Nyquists theorem
- Analog filters
- Transducers
- Sample and hold circuit
9- Let us assume that numerical values of some
function x(t) are given at equally spaced
intervals every ?t seconds. - 1/?t is then called sampling frequency.
- Signal can then be represented by discrete set
of samples - x(0), x(?t), x(2?t), , x(k?t),
10AD converter resolution
- Every sample of analog signal is converted in to
digital value with final number of bits - Conversion is preformed in AD converter
11- 3 bit resolution 238 combinations, which
means 8 discrete divisions that analog signal can
be represented with
12Nyquists theorem
- Sampling frequency
- (how often is AD conversion preformed)
13Nyquists theorem
- To avoid signal alias sampling frequency must be
at least two times higher then maximum frequency
component in analog signal - For accurate waveform representation sampling
frequency should be at least 5 to 10 times higher
then maximum frequency component in analog signal
14Analog filtering
15Transducers and surge protection circuits
- Reduce voltages and currents (10 V and 20 to 40
mA) to suit hardware requirements - Protect hardware from overvoltages
- Signal distortion is the problem (current
transducers saturation)
16Sample and Hold circuit
17Basic components of digital relay
18Numerical differentiation
- Derivatives in point k is
19Numerical integration
Lagrange interpolation formula
20Curve fitting
- Linear fit
- Exponential fit
- General polynomial fit
- General linear fit
- Levenberg-Marquardt fit
21Least square method
22Fourier analysis
- Fourier series
-
- Fourier transform
23Discrete Fourier transform DFT
- Samples of signals from AD time domain
- No need for curve fitting
- Use DFT frequency domain
24Smoothing Windows
25Smoothing Windows
n0, 1, , N-1
26Digital filters
- Input signal is discrete
- They are software programmable
- They are stable and predictable
- They do not drift with temperature or humidity
and do not require precision components - They have superior performance to cost ratio
- They do not age
27Digital filters
28Signal generator
29Control loop
?t1/fs
30Sine wave based algorithms
- Waveform is assumed to be sinusoidal
- They predict amplitude at every moment
- They can be used for impedance calculation
- Six are presented
- Sample and first derivative with two points
- Sample and first derivative with three points
- First and second derivative
- Two sample technique
- Three sample technique
- R i X calculation with three sample technique
31Sample and first derivative with two points
32Sample and first derivative with two points
33Sample and first derivative with three points
34Sample and first derivative with three points
35First and second derivative
36First and second derivative
37Two sample technique
38R i X calculation with three sample technique
39R i X calculation with three sample technique
40Fourier algorithms
- Waveform does not have to be pure sine
- The basic assumption is that the waveform is
periodic - The principle of work is moving frame
- Moving frame is constant in size which means that
it always contains the same number of points
41Fourier series with whole period
If fs is 600 Hz then in one period of 20 ms there
are 12 samples. Weighting factors are calculated
in advance for fixed samplin frequency.
42Fourier series with whole period
43Fourier series with whole period third harmonic
n3
44Fourier series with whole period third harmonic
45Fourier series with half period
46FFT algorithm
47Least squares based algorithms
- All components of measured waveform must be
predicted in mathematical model. - After curve fitting data about amplitude,
harmonics, angle, etc. are obtained - Downside is large number of calculations
- They are complex
- Four of them are presented
- Algorithm with general polynomial fit
- LSQ 1, 3 multivariable algorithm
- LSQ 1, 3, 5 multivariable algorithm
- LSQ 1, 3, 5 ,7 multivariable algorithm
48General polynomial fit algorithm
49General polynomial fit algorithm
50LSQ 1, 3 multivariable algorithm
51LSQ 1, 3 multivariable algorithm
52LSQ 1, 3, 5 multivariable algorithm
53LSQ 1, 3, 5 multivariable algorithm
54LSQ 1, 3, 5, 7 multivariable algorithm
55LSQ 1, 3, 5, 7 multivariable algorithm
56Differential equation based algorithm
- There is no need to assume that the waveform is
sine - The fundamental approach is based on the fact
that all protected equipment can be represented
by differential equations of first or second
order. - The methods are described by reference to
transmission line - Three algorithms are presented
- Integration algorithm
- Third harmonic filtration algorithm
- Differential algorithm
57Integration algorithm
58Integration algorithm
59Third harmonic filtration algorithm
For fs600 Hz
60Third harmonic filtration algorithm
61Differential algorithm
62Differential algorithm
63Differential algorithm
64Algorithms and Real-Time operation
- System is operating in real-time if it can
guarantee fulfillment of various tasks in
specific time - OS in real-time
- Hardware and software in real time
- Control loop time
65Algorithms and Real-Time operation
66Power system signal
67Sine wave based algorithms
68Fourier based algorithms
69Least squares based algorithms
70Differential equation based algorithms
71Short circuit
72Sinus wave based algorithms
73Fourier based algorithms
74Least squares based algorithms
75Differential equation based algorithms