Design of Microcontroller Based Multi-Functional Relay For Automated Protective System
Design of Microcontroller Based Multi-Functional Relay For Automated Protective System
Authorized licensed use limited to: Durban University of Technology. Downloaded on April 24,2023 at 18:21:44 UTC from IEEE Xplore. Restrictions apply.
sample and hold (S/H) circuit is extremely low. The sample excess current flows in the line current sensor sense that
and hold circuit and the ADC work under the control of the current from the line, this sensed current is further modified by
microprocessor and communicate with it with the help of sending through the AAF, S/H circuit and ADC. But arduino
control signals such as the end-of conversion signal issued by knows the value equalant to binary that will be given by the
the ADC. The ADC passes on the digital representation of the ADC. In arduino, program should be written before
instantaneous value of the signal to the microprocessor via an performing the operation. Then arduino uno board can
input port. The output of the ADC is 8 bits. The wider the compare the actual value to set value which is already
output of the ADC, the greater its resolution. The incoming mentioned in the program. If there is exceed the current, then
digital values from the ADC are stored in the RAM of the aruduino will give the trip signal to the relay through
microcontroller and processed by the relay software in optocoupler, relay driver circuit and electromagnetic switch.
accordance with an underlying relaying algorithm. The Same procedure will be applicable for the voltage also. In this
microprocessor issues the trip signal on one of the bits of its paper, under voltages and over voltages are taken into account.
output port which is then suitably processed so as to make it Voltage should in the limits, “Vmin<V<Vmax”, if V<Vmin or
compatible with the trip coil of the CB, whenever the V>Vmax, arduino will give the trip signal. Operation of the
abnormal conditions occur then buzzer makes sound [6]. equipments in proposed digital relay is described below
A. Anti-Aliasing Filter
An anti-aliasing filter is a filter used before a signal
sampler, to restrict the bandwidth of a signal to approximately
satisfy the sampling theorem. Anti-aliasing filters are
commonly used at the input of digital signal processing
systems, for example in sound digitization systems. Similar
filters are used as reconstruction filters at the output of such
systems. For a single pole low-pass filter, fc = 1/(2 × π × RC)
the filter roll-off is 6dB per octave or 20dB/decade [7].
The filter was built around the amplifier LMP8601. It’s a
linear monolithic precision amplifier, with a gain of 20. It has
an internal pre-amplifier of gain 10 & a buffer amplifier of
gain 2.
The filter to minimize noise in the input signal is second
order Sallen-Key low pass filter.
Filter Parameters
Authorized licensed use limited to: Durban University of Technology. Downloaded on April 24,2023 at 18:21:44 UTC from IEEE Xplore. Restrictions apply.
B. Voltage and Current Signal Sampling EFSR
For sampling the voltage for over voltage or under voltage Q=
protection, one should measure the magnitude of the voltage. 2M −1
So there is no need of knowing the polarity. So instead of
level-shifting the voltage waveform by introducing a DC
offset, one can just rectify it and sample it. So the steps
involved in voltage sampling are step-down, rectification,
attenuation & sampling.
Fig. 4. Circuit for sampling the current signal. Fig. 6. Regulated Power Supply for voltages.
Authorized licensed use limited to: Durban University of Technology. Downloaded on April 24,2023 at 18:21:44 UTC from IEEE Xplore. Restrictions apply.
digital (on/off) signals, but some techniques allow use with
analog (proportional) signals.
An opto-isolator contains a source (emitter) of light, almost
always a near infrared light-emitting diode (LED), that
converts electrical input signal into light, a closed optical
channel (also called dielectrical channel), and a photo-sensor,
which detects incoming light and either generates electric
energy directly, or modulates electric current flowing from an
external power supply. The sensor can be a photo-resistor, a
photodiode, a phototransistor, a silicon-controlled rectifier
(SCR) or a triac.
transistor, the transistor will be degraded, and this will lead to INC DEC
KEYS
2
SIL-100-03
1k5 1k5
M
R1
As suitable ratings for this diode, the current should be
10K
10k 10k
A
A
LED
LED
K
Authorized licensed use limited to: Durban University of Technology. Downloaded on April 24,2023 at 18:21:44 UTC from IEEE Xplore. Restrictions apply.
Whenever a button is pressed logic HIGH is present at the In Fig.3, TP2 indicated rectified voltage passed through the
pin & the micro controller recognizes that the key is pressed, LF398 amplifier, it generates the voltage samples [TP3]
after executing debouncing logic. Using mechanical switches corresponding to the hold commands [TP4].
for a user interface is a ubiquitous practice. However, when
these switches are actuated, the contacts often rebound, or
bounce, off one another before settling into a stable state.
Several methods exist to deal with this temporary ambiguity,
using either hardware or software. The usual solution is a
debouncing device or software that ensures that only one
digital signal can be registered within the space of a given
time (usually milliseconds).
Fig. 14. Current sensor voltage & amplified & level shifted voltage.
Fig. 11. Second order Sallen-Key low pass filter input & output.
Authorized licensed use limited to: Durban University of Technology. Downloaded on April 24,2023 at 18:21:44 UTC from IEEE Xplore. Restrictions apply.
In Fig.6, TP1 indicates 15-0-15v transformer output and The arduno code of the proposed relay is divided into
TP2 indicates filtered rectifier output voltage blocks that depict the action of each code. Each block
describes the major tasks to be performed during the
execution. This helps in understanding the bulky program in
easy manner [11].
IV. CONCLUSION
In this paper a microcontroller based protective relay was
designed & developed that can function as – over current
relaying, over voltage relaying & under voltage relaying. The
programming capability of the microcontroller & the proper
sampling of the signals reduce the operating time of relay.
Integration of three conventional relays into one digital relay
makes this device economical. It’s a fit & forget device to
Fig. 17. Simulation of opto-coupler. protect electrical equipment. Also it has a man-machine
interface. The proposed relay is verified by simulation &
In Fig.7, test point 1 indicates the signal from the validated from the experimental results. Further this relay can
microcontroller and test point 2 indicates the output signal be used as a stand-alone relay, or in co-ordination with other
from the optocoupler. relays.
V. ACKNOWLEDGEMENT
The authors would like to thank the authorities of Department
of Electrical Engineering, Visvesvaraya National Institute of
Technology, Nagpur for providing facilities to carry out the
research work.
VI. REFERENCES
[1] G. R. Gunasekari, DR. D. Mary, and DR. Kishoreraja, “ Performance
evalation of a modern NPR for over current protection with the
application of microcontroller technology in power system,”
International journal of eng. Research and development, vol. 10, no. 3,
2014.
[2] I. Zamora, A.J.Mazon, V. Valverde, E. Torres, and A. Dysko “power
quality and digital protection relay”,. IEEE Proc., pp. 1-7, 2005.
[3] Sandro Gianny Aquiles Perez, “ Modeling Relays For Power System
Fig. 18. Proposed Multi-functional Protective relay with ATmega328 - Protection Studies”. IEEE Proc., pp. 566 – 569, 2005.
Hardware Implementation [4] Proteus VSM Instruction Manual, Issue 6. 2002
[5] R. Nicole, “T W. Durfee “ Arduino Microcontroller Guide,” University
Voltage sampling circuit and current sampling circuits each of Minnesota, 2011.
consists of 8-bit ADCs itself and output of ADCs is connected [6] Y. Yorozu, Paithankar, and S.R.Bhide, Fundamentals of Power System
to microcontroller. Whenever unbalanced conditions occur, Protection. ISBN-81-203-2194-4. 2010.
buzzer makes sound and displays the data in lcd panel. [7] M. Young, and Maxim, “ A Beginner’s Guide to Filter Topologies-
Application Note,” 2003.
[8] A. Rafa, S. Mahmod, N. Mariun, W. Z. Wan Hassan, and N.F. Malilah,”
protection of power transformer using Microcontroller_ based relay,”
IEEE Proc. Student Conference on Research and Development, 2002.
[9] Vladimir Gurevich “Reliability of microprocessor- based relay
protection devices: myths and reality” Serbian journal of electrical
engineering, vol. 6, pp. 167-186, 2009.
[10] Amitabha Gangopadhyay “ A low cost microprocessor based ground
fault relay using walsh functions”., vol. 2, pp. 1770 – 1775, 1991.
[11] Mazidi, “ The 8051 Microcontroller and embedded systems assembly
and C”. 2007.
Authorized licensed use limited to: Durban University of Technology. Downloaded on April 24,2023 at 18:21:44 UTC from IEEE Xplore. Restrictions apply.