Synopsis of Microcontroller Based Power Transformer Protection System
Synopsis of Microcontroller Based Power Transformer Protection System
Synopsis of Microcontroller Based Power Transformer Protection System
Name of Students:
Faculty/School/Institute ENGINEERING
DECLARATION
1. We understand what Plagiarism is and I am aware of the University’s policy in this regard
2. We declare that this final year project is my original work and has not been submitted elsewhere
for examination, award of a degree or publication. Where other people’s work, or my own work
has been used, this has properly been acknowledged and referenced in accordance with the
college requirements.
3. We have not sought or used the services of any professional agencies to produce this work 4. I
have not allowed, and shall not allow anyone to copy my work with the intention of passing it
5. We understand that any false claim in respect of this work shall result in disciplinary action, in
Signature _______________________________________________
Date ___________________________________________________
Acknowledgement
First and foremost, we thank the Almighty God for His guidance throughout our studies in the
MIET college and the completion of this project.
We are very grateful to our supervisor Mr. BHANU PRATAP for his guidance throughout this
project. The sessions that we had with professor inspired me to work harder every time we met.
We also thank the Department of Electrical Engineering and our lecturers for instilling in the
knowledge that has brought us this far.
ii
ABSTRACT
The main intention of this project is to design a microcontroller based system that can be used in
power transformer protection. The system checks the operating parameters of the transformer i.e.
current and reports the quantity that is flowing through the transformer. The system is designed
such that it is able to detect currents above the normal operating level and isolate the power
transformer from the distribution line. This isolation process is to ensure that the transformer is
safe from any excess current levels that can make it to overheat thus get damaged. It gives a
solution to the need to reduce cost of maintenance and ensure that supply of electricity to
consumers is not interrupted for long periods taken while repairing or replacing destroyed
transformers.
A current sensor ACS712x series has been used in this project as the interfacing instrument
between the power transformer and the PIC16F690 microcontroller. The PIC16F690 controls all
operations that the device does. A relay and a contactor have been used as the switching gears to
isolate the transformer from the power system in case a fault occurs. A monochrome LCD has
been used to show system current readings and indicate cases of over-current fault. To warn an
operator of a fault occurrence, LEDs and a piezoelectric buzzer have been used. All these
peripheral devices depend on the microcontroller to make them operate or otherwise. Some of the
tools used in this project include MPLAB - programming software used to write the program for
the microcontroller used in this project. Proteus- simulation software has also been used to test
whether the design works appropriately before its implementation on hardware. Pickit3- has been
used to load program into the microcontroller using MPLAB.
iii
GOTO
4
GOTO
component in an electrical power is a continuous supply of power to
system as distribution of electrical serve the needs of the ever growing
power to consumers is more economy. This project therefore
efficiently effected. Every seeks to design a microcontroller
transformer is designed to based system that will intelligently
comfortably supply a given load. monitor faults and prompt a safety
Cases of overload or short circuits measure to protect the power
can lead to transformer being transformer in case of power
damaged. To combat such overload.
occurrence, an elaborate system that
monitors these excesses in supply 1.3 OBJECTIVES
parameters needs to be built. Such a The main objective of this project is
device controls the flow of electrical to design and implement a system
power to the load so that the that uses microcontroller and other
transformer is not overworked. Over peripheral devices to protect power
current relays and overvoltage relays transformer. To achieve this the
have been used for a long period of following must be done.
time and have been
a) Design and build an over
electromechanically controlled. In
current relay using PIC
this system, a microcontroller is used
microcontroller and a current
to monitor cases of electrical faults
sensor
and communicate to a switch to
b) Development, analysis and
isolate the transformer from the
calibration of the current
system.
sensor.
1 c) Development of the ADC
program to convert the
analogue sensor output to
equivalent digital form
1.2 PROBLEM STATEMENT within the PIC
Power system protection is a very microcontroller.
important consideration in the design d) Development of the LCD
of an electrical power system. There program to display the sensed
is need to protect electrical power levels.
components from dangerous faults. e) Development of warning
This is warranted by the need to (audio and visual) and relay
increase the life of the components, control system program.
avoid unnecessary expenditure in
frequent replacement of obsolete
components and to ensure that there
5
GOTO
1.4 SCOPE WORK consumption depending on the
The investigation carried out in this purpose for which a consumer uses
project is limited to power electricity. Electrical power
transformer protection methods. The consumers may be industrial,
extent of the work is to build a device commercial or domestic. These
that detects current spikes/overload consumers require different levels of
in the primary and secondary sides of electric power supply. In order to
a single phase transformer and isolate meet their specific needs, certain
it from the power system. devices that adjust the voltage levels
accordingly have to be used. Some
of those components include: step up
and step down transformers,
capacitor banks, protective devices
etc.
CHAPTER 2: LITERATURE
REVIEW
6
GOTO
Figure2.1 Generation, A circuit breaker closes
transmission and automatically as a result of trip
distribution of electrical signals it receives from the relay
power [2]. whenever a fault is detected. The
basic philosophy of a power
2.2 Power system protection protection system is that system
A branch of electrical power faults cannot be prevented from
engineering that deals with flowing in the system but can be
protection of Power system from stopped from spreading in the
faults is known as power system system.
protection. It does this by isolating
the faulted parts of the system from 2.2.1 Importance of power system
the rest of healthy electrical network protection
[3]. The diagram below shows a Occurrence of fault is hazardous to
model of a power protection system. both electric power user and the
electric system itself. To the user, life
is of most important concern. The
main concern of the system is to
ensure a stable supply of electric
power to consumer and to ensure that
the electrical components do not get
destroyed. In summary, power
protection is necessary to:
a) User/Personnel-
ensure safety i.e.
Prevent
injury/accident.
b) Electrical equipment
- to protect the
Figure2.2 power system protection [3]
equipment from cases
The main aim of power system of over current,
protection scheme is to switch off a overvoltage and
section that is faulty in the system frequency drift that
from the remaining live system. This can destroy the
ensures that the remaining portion is equipment.
able to function satisfactorily locking c) General Safety -
out chances of damage that may be Prevent secondary
caused by fault current. accidents that occur
as a result of system
fault like fire.
7
GOTO
d) Power Supply Non-Unit Protection
Stability- Ensures a
continuous and stable The Non-Unit protection protects a
supply of electrical system\zone and can overlap with
power. another protection zone in the
e) Operation Cost - system. This scheme ensures an
Ensure optimal isolation of the entire circuit (a larger
operating efficiency area) in case a fault occurs as
so as to reduce illustrated in figure 2-4
equipment
maintenance/replace
ment cost
8
GOTO
and air blast circuit breakers. essential element in a power
Mechanisms of operation of protection system.
circuit breakers include:
hydraulic, solenoid, spring
and pneumatic [1].
2.2.4 Functional
requirement of a protection relay
Figure2.5 circuit breaker [4] In order for a protection relay to
operate effectively, it must have the
Protective gear: consists of
following qualities[5].
protective relays like voltage,
current, impedance, a) Reliability: power
frequency and power relays, protection relays
based on operating should remain
parameter, definite time, inoperative always as
inverse time, and stepped long as a fault does
relays, classified according to not occur. But when a
operating characteristic, fault occurs, they
differential and over fluxing should respond as
relays classified according to quickly as possible.
logic. When a fault occurs, b) Selectivity: it must
relay sends signal to relay to only operate on the
the circuit breaker section that has
completing its circuit thus experienced a fault to
making it to trip [1]. avoid unnecessary
Station batteries: all circuit power outs due to
breakers in a power system wrong detections. It
operate using direct current. should also respond
The current is provided by only when a fault
battery banks that are occurs.
installed together with the c) Sensitivity: The
circuit breaker. It is thus an relaying equipment
9
GOTO
should be highly magnetic field in one coil causes
sensitive so that it can voltage induction into another coil.
be relied on to Sizes of transformers vary according
provide the required to their applications from the tiny
detection. ones used in microphones to the ones
d) Speed: the relaying weighing hundreds of tones used
equipment must system grid. Transformers are used
operate at the in electronic appliances and in
required speed. It electrical power networks.
should not delay so as Transformers are therefore very
to give time for important in transmission,
system equipment to distribution and consumption of
get destroyed. It electrical power[6].
should also not be too
fast to cause There are two basic principles that
undesired operation. explains the operation of a
transformer
2.3 Transformer protection
Magnetic field can be caused
Electrical power systems have
by electric current.
various devices that aid in the
A varying magnetic field
transmission and distribution of
linked to a coil induces
electrical power. One such
voltage across the ends of the
component is the power transformer.
coil by means of
A transformer can be described as an
electromagnetic induction.
electrical device used in electric
power system to transmit power
between different circuits, applying
the principle of electromagnetic
induction. The transfer of energy
from one circuit to another makes use
of basic magnetic fields. The flow of
electric current in a conductor
induces magnetic field around that
particular conductor. If another
conductor is brought within the effect
of the first conductor, such that they
are linked, voltage induction takes
place in the second conductor.
Figure2.7 Electro-magnetic induction
Transformer theory and application
[6]
is based on the principle where
10
GOTO
11
GOTO
can also be a cause of method to protect transformer
fault in a transformer. against internal faults. It may
c) The inrush current however not be effective in
that occurs protecting the transformer against
momentarily when a ground fault in case of ungrounded or
transformer is high impedance grounding. The
energized can also be following factors affect differential
treated as a fault current in a transformer and should
unless conditions are be taken into consideration while
set for its detection. using differential protection scheme
d) Inter-turn faults may to protect a transformer [5].
occur and cause rise
Magnetizing inrush
in hot spots within the
current: this is the maximum
transformer winding.
instantaneous current that a
e) Transformer may
transformer draws when it is
experience over
first switched on. Power
fluxing which may be
transformers can draw as
as a result of
high as 830 times its rated
transformer operating
current depending on its
at low frequency at
resistance. Inrush current if
rated voltage. Over
not taken care of can thus be
fluxing may also be
detected by the system as a
caused by
fault and thus cause
overvoltage operation
unwanted response. The
at rated frequency.
diagram below shows a
f) Sustained overload
typical waveform of inrush
can also be a cause of
current.
fault in a transformer
12
GOTO
Figure2.9 its primary current as per the
Waveform of a transformation ratio. The
magnetizing main reason for this is the
inrush current property of the core to go into
[4] magnetic saturation due to
high currents or large burden
at the secondary side. His can
Over excitation: Over cause relay operating current
excitation when referring to a to flow as a result of
transformer means an distortion of the CT current [
increase in magnetic flux in 7].
the core above
allowable/normal levels.
This causes the magnetizing
current to increase. It can
lead to destruction of the
transformer if the situation is
not taken care of. Over
excitation in transformers is
caused by overvoltage I the
network.
13
GOTO
below. It is restricted to the
transformer winding; otherwise, it
may operate for any ground fault
anywhere in the system. It detects
faults with values below pick up of
differential relay.
14
GOTO
15
GOTO
peripherals. The difference between instruction simultaneously [11]. This
a microcontroller and a relationship is depicted in figure 2-
microprocessor is that a 17.
microprocessor is an integrated
circuit that only has CPU but no
memory as in the microcontroller.
They are used in general purpose
applications.
Figure3.2
microcompu
ter memory
Figure3.1 microcontroller architecture organization
[5] [11]
16
GOTO
arrangement of the PIC16F690. The A/D converter 12 Ch
pins of PIC16F690 can be used for Analogue comparator 2 chan
multiple functions as indicated on the Wide operating voltage 2 to 5
pin diagram in figure 2-18. Pin 1 Auto shut down and restart option
(VDD) is used for positive power Programmable on chip voltage reference
supply while Pin 20 (VSS) is used as Temperature range of operation -40 to
a ground reference. Pins on PORTA Maximum output current sourced/sunk by 25mA
can be used for input/output purposes any I/O pin
except pin RA3 which is solely an Maximum current sourced/sunk in all the 200m
ports combined
input pin. All PORTB and PORTC
Pin count 20
pins can be used for either input or
output functions [14].
3.2 Liquid Crystal Display
Liquid crystal display is a type of
screen display often used in digital
watches, calculators and computers.
The LCD display makes use of two
layers of polarising material having
solution of liquid crystal between
them [15]. When an electric current
passes through the liquid crystal, it
causes them to align and cause light
not to pass through them. Each
crystal acts like a shutter to either
Figure3.3 PIC16F690 Pin diagram [6] allow or not allow light to pass
through. The principle is illustrated
This microcontroller has the in figure 2-19
following features that made it an
appropriate choice for carrying out
this project.
17
GOTO
Figure3.4 The structure of an LCD
[15]
18
GOTO
R/W = 1 Clear display 0 0 0 0
Data is read Cursor home 0 0 0 0
from LCD RS: Entry mode 0 0 0 0
helps the LCD Display ON/OFF & cursor 0 0 0 0
to identify Cursor/display shift 0 0 0 1
whether the Function set 0 0 1 DL
information is Set CGRAM address 0 1 A A
Set display address 1 A A A
data or
I/D: 1 = Increment, 0 = Decrement S: 1 = Display
command.
D: 1 = Display ON, 0 = OFF C: 1 = Cursor
When: RS = 0: command B: 1 = Cursor blink ON, 0 = OFF R/L: 1 = Righ
S/C: 1 = Display shift, 0 = Move cursor DL: 1 = 8-bit
RS = 1: data N: 1 = two lines, 0 = 1 line F: 1 = 5x10
19
GOTO
various purposes like measuring the t
amount of current in the conductor, h
controlling of another device etc. i
s
s
e
t
v
i
a
t
h
e
n
Figure3.6 Allegro Microsystems e
ACCS712 Series w
F
The current sensor used in this
I
project is Allegro ACS712ELCTR-
L
30A-T. It is popularly used in diverse
T
applications in motor control, electric
E
vehicles and in power distribution. It
R
has the following features [7];
p
i
n
Low-noise analogue signal 5
path μ
D s
e o
v u
i t
c p
e u
b t
a r
n i
d s
w e
i t
d i
20
GOTO
m 5.0 V, single supply
e operation
i 66 mV/A output sensitivity
n Output voltage proportional
r to AC or DC currents
e Factory-trimmed for
s accuracy
p Extremely stable output
o offset voltage
n Nearly zero magnetic
s hysteresis
e Ratiometric output from
t supply voltage [16]
o
s The Allegro ACS712ELCTR-30A-T
t has a low-offset linear Hall sensor
e circuit that has a conduction path
p made of copper located next to the
i die. A magnetic field is caused by the
n current flowing through the copper
p conductor. This magnetic field is
u detected by the integrated Hall IC
t which converts it into a voltage
c proportional to the magnetic flux. A
u current of 1A flowing in a conductor
r produces 66mV. The close proximity
r of the magnetic signal to the Hall
e transducer optimizes the device
n accuracy. To attain precision, in
t terms of voltage produced, a low-
80 kHz bandwidth offset, chopper-stabilized Bi-CMOS
Hall IC is used. It is programmed for
Total output error 1.5% at
accuracy at the factory[16].
TA= 25°C
Small footprint, low-profile
SOIC8 package1.2 mΩ The sensor measures a maximum of
internal conductor resistance 30A from the load current. This
2.1 kVRMS minimum serves as its primary current. The
isolation voltage from pins 1- sensor output voltage is fed into the
4 to pins 5-8 microcontroller as the analogue
input.
21
GOTO
Hardware design
Software design
PCB design
22
GOTO
4.1 HARDWARE DESIGN The logical process that avails the
The PIC16F690 microcontroller has readings takes place within the
been used as the main device in the microcontroller using a program and
development of this system. Based displayed on the LCD. The LCD
on the number of input/output pins operates in 8-bit mode, so 8 pins from
and the other functional features it the microcontroller have been
was selected for use in this project. connected to the 8 data pins on the
The 20 pins of the microcontroller LCD. Since PORTC of the
have been distributed for use as PIC16F690 is 8-bit wide, it is used
follows for this purpose. So, RC0- RC7 pins
of PIC microcontroller have been
TABLE 4.1 connected to D0-D7 of the LCD as
Microcontroller Pin Usage illustrated in figure 4-1.
Pin Number Pin
function of pins names
Power 1 RA3
pin(VDD)
Sensor 1 RA0
input pin
LEDS 2
control
Buzzer 1
control
Relay 1
control
LCD 3
control
LCD data 8 RC0RC7
lines
Reset pin 1
23
GOTO
o a
c t
o i
n o
t n
r s
o o
l f
l t
e w
r a
- r
L e
C
D
i The register select (RS) pin has been
n connected to pin 12 (RB5) on the
t microcontroller. Enable pin has been
e connected to RA1 (pin 12). At all
r times, the R/W line is connected to
f ground (kept low) since data in this
a case is always written into the LCD.
c A potentiometer of 10KΩ has been
e used to vary the brightness contrast
a of the LCD.
s
d 4.1.2 Warning devices and relay
o control
n
e a) LEDs
i In order to indicate the state of the
n power line, two Light emitting
t diodes have been used. One LED
h emits red light and the other one
e green light. The green LED is set to
s blink when the current flowing
i through the power system is at a
m normal level. The red LED should
u blink at an interval of half a second
l whenever the current build up
24
GOTO
approaches the overload level that the maximum current sourced
through to the point when the relay becomes;
gets energized. This acts as a visual
warning when a fault occurs.
5.
The green LED has been connected
to the pin RB4 (pin 13) via a current
limiting resistor (220Ω) to ground.
The figure 2-2 below illustrates the
The red LED has been connected to
connection of LEDs to the
pin RA5 (pin 2) also through a
microcontroller via current limiting
current limiting resistor (220Ω) to
resistors.
ground. The microcontroller pins VDD
can give a maximum of 5.3V. LEDs
typically have a forward voltage drop 19
RA0/AN
18
ranging between 1.8V and 3.3V 17
RA1/AN
RA2/ AN
4
RA3/MC
subject to the LED colour. The value 3
2
RA4/AN
D3 RA5/T1C
for red LED is about 1.8V. The R2 13
RB4/AN
220 12
RB5/AN
forward voltage drop is a function of LED-RED 11
10
RB6/SC
RB7/TX/
the LED colour frequency. D2 PIC16F69
R3
220
For the LED to light, it needs around LED-GREEN
c) Relay/contactor control
An electromagnetic relay has been
employed as a switch to isolate the
transformer from the power system
in case a fault occurs. The rating of
the relay used is in the model system Figure4.3
is 5V. Due to the fact that the relay
might draw a current of higher value M
than what the microcontroller can i
sink or source, a Darlington c
transistor is used as a switch to run it. r
It is connected between the transistor o
VDD and the Darlington transistor c
collector. When fault current is o
detected, the RB6 pin of the n
microcontroller is set high. This t
produces current that drives the r
Darlington transistor. The transistor o
in turn completes the relay coil l
circuit. The relay is energized l
through the principle of e
electromagnetic induction. It in turn r
de-energizes the contactor to isolate -
the transformer from the system. The r
relay is used alongside a contactor e
l
26
GOTO
a 4.1.3 Sensor interfacing to the
y microcontroller
i Since the microcontroller can take a
n maximum of 5V DC input, it cannot
t be connected directly to an AC line
e with high voltages. A current
r transformer and anACS75x series
f sensor has been used. The current
a transformer stepped down the line
c current to measurable level of 25A.
e The current sensor converts the
a current to a maximum of 5V. The
s current transformer is connected to
d the pins 4 and 5 of the current sensor.
o The sensor output is connected to the
n pin RA0 of the microcontroller. A
e zener diode is used to protect the
o microcontroller from voltage spike.
n The figure 4.4 illustrates this process
t
h
e
s
i
m
u
l
a
t
i
o
n
s
o
f
t
w
a
r
e
27
GOTO
Figure4.4 n
t
M h
i e
c s
r i
o m
c u
o l
n a
t t
r i
o o
l n
l s
e o
r f
- t
s w
e a
n r
s e
o
r
i
n
t 4.1.4 The Oscillator
e The function of an oscillator in a
r microcontroller is to generate a clock
f signal. The clock signals are
a important because they help the parts
c of the microcontroller to function
e together. The clock makes it easier to
a know when the different parts of the
s microcontroller are going to change
d state. It is important to know how
o long a given operation takes to
n accomplish. An internal oscillator
e has been used in this design instead
o
28
GOTO
of an external crystal oscillator. It is The flow chart below illustrates the
selected in the program. way the program worked. It was used
as a guide while writing the code for
4.1.6 PCB design the microcontroller.
After the circuit is successfully tested
on the breadboard, it is transferred to
a PCB. The process for designing the
PCB is as follows
LCD Program
Analogue to Digital
conversion
Protection program
The main program guide
29
GOTO
START a. Bank selection
DISPLAYBSF
ON STATUS, RP0
The STATUS register is used to
select banks. Its arrangement is
shown in figure 3-1. Bits 5 (RP0)
and 6 (RP1) are used to select one of
the four banks as appropriate.
BCF
STATU
S, RP0
YES ; clear
bit 5 of
STATU
ENERGIZE RELAY
S
register
Figure4.5 F low chart
BSFof the program
STATU
4.2.1 ADC Program
S, RP1
The PIC16F690 has an internal
; set bit
analogue to digital converter module
6 of
that is 10 bit wide and has 12
STATU
channels. For this ADC to be used, it
S
has to be programmed.
30
GOTO
register 010 = FOSC/32
.
X11 = FRC (clock derived from a
dedicated internal oscillator = 500
IRP RP1=1 RP0=0 TO PD Z DC C
kHz max)
Bit 7 Bit 0
100 = FOSC/4
Figure4.6 101 = FOSC/16
the Status register
110 = FOSC/64
TABLE 4.2 Bank selection bits
RP1 RP0 Bit 3-0 Unimplemented: Read as ‘0’
SELECTION
Bank 3MOVLW
selected b'01010000'
1 1 ;
ADC clock at 4MHz/16(TAD=4.0us)
b. Clock setting MOVWF ADCON1
The ADCON1 register is used to The time taken to complete one bit
select the A/D Conversion clock. Its conversion is defined as TAD. The
selection bits are as illustrated in choice of FOSC/16, 4MHz gives a
figure 4-7 TAD of 4μs.
001 = FOSC/8
31
GOTO
BSF TRISA, 0 ; Set RA0 to input Figure4.9
ADCON1 Register.
0001 = AN1
Figure4.8
0010 = AN2
The ANSEL register
0011 = AN3
0100 = AN4
BSF ANSEL, 0 ; Set RA0 to
analogue 0101 = AN5
32
GOTO
Bit 1 GO/DONE: A/D Conversion Since AN0 has been configured as
Status bit the analogue input, bits 5 to 2 are
kept low. The GO/DONE bit is kept
1 = A/D conversion cycle in progress.
low to show that the conversion is
Setting this bit starts an A/D
complete.
conversion cycle.
To enable ADC, BIT- 0 (ADON) BIT
This bit is automatically cleared by
is set to 1. The code segment is as
hardware when the A/D conversion
follows
has completed.
0 = A/D conversion completed/not in MOVLW 0x01 ; Vdd Vref
progress (bit 6), AN0 (0000 of bit 5-2), on (bit 0)
33
GOTO
TACQ = Amplifier Settling Time+ following code segments show how
Hold Capacitor Charging Time + data from the addresses are stored in
Temperature Coefficient the general purpose registers.
MOVF ADRESH, W ; Read upper 8 bits
= TAMP + TC + TCOFF.............. (eq 4-
MOVWF OUTPUTH ; move contents of AD
1)
= 5μs + TC + [(Temperature -
25°C)(0.05μs/°C)]...........(equ 4-2)
BANKSEL ADRESL ; select the bank wher
We can approximate the value of T C
MOVF ADRESL, W ; Read lower 2 bits
using the following equation:
BCF STATUS, RP1 ; bank- 0
TC = –CHOLD(RIC + RSS + RS) ln
(1/2047).................. (equ 4-3) BCF STATUS, RP0 ; select bank-0
= –10pF(1kΏ + 7kΏ + 10kΏ) ln MOVWF OUTPUTL ; move contents of AD
(0.0004885)
= 1.37μs
34
GOTO
start of the initialization. The MOVLW 0Ch
following code has been used. ; Display ON, cursor OFF & blink OFF
35
GOTO
the value is moved to the PORTC. values
For an instruction, RS is set to 0. This
is achieved by setting bit-5 of
PORTB low. Then some small delay
of 5μSec is applied to the LCD. It is
then enabled, (E=1) then another
short delay of 5μSec that gives it time
to fetch data is used before clearing
the enable bit (E=0) and calling
another delay routine.
Where: E =5V
N = (210- 1)
= 1023
36
GOTO
register for all the bits upon testing
whether or not each is set.
37
GOTO
The microcontroller sets the relay,
buzzer and red LED pins on in case
the current amounts reaches this
value and off as long as the current
value remains lower than the pre-set
value. For the actual power
transformer, current rating for a
particular transformer is be used. The
preset current value in this case has
been set to 15Amperes. This in
binary form is as follows;
38
GOTO
above. An increase in the
sensor output voltage led to a
corresponding increase in the
current value displayed on
the LCD.
39
GOTO
current is drawn from the The above binary
transformer. More resistance representation corresponds
limits current flow, with the following sensor
signifying reduced load. So resolutions;
as resistance is reduced by
varying the rheostat, current 0.312+0.156+0.039+0.004=0
increases up to a point where .511
the relay trips the circuit. It can therefore be concluded
This confirms that the system that the ADC module has
has been designed well and been well programmed.
thus it is able to read and It is also observed that during
record the current as it normal transformer
changes, and operate the operation, the green LED
switches at optimum current blinked. The normal
levels. operation range is between 0
The ADC gave satisfactory and 15.132A. Within this
results as expected. The input range of, the relay contact
value from the sensor remains intact, the buzzer
matches well with the remains quiet, the red LED
displayed value on the LCD. remains off and the LCD
For example a value of 3.07A displays varying current as
displayed on the LCD the load current is varied
corresponds to 0.51V from from 0 – 20KΩ. The
the sensor. following figures illustrate
Proof the simulated device
operation.
The value 3.07 calculated RL1
RV2
from the table will include 12 V
These
values
mean that Figure5.2 Relay closed Green blinks
the ADC
bits were
LCD1
set as LM016L
follows;
00011010
01.
40
GOTO
D2
R3
10
5.3 Results after220implementation
LED-GREEN
The following figures shows the
outcome upon implementation on a
Figure5.4 Relay Open, Red LED breadboard.
blinking
LCD1
LM016L
41
GOTO
42
GOTO
43
GOTO
CHAPTER 6: CONCLUSION Every customer desires to optimize
and RECOMMENDATINS the usage of a gadget yet at a low
cost. The cost of implementing the
system is relatively cheap as the
components used are few and can be
The main objective if this project has cheaply found in the market. The
been to design and implement a microcontroller can be used to drive
system that uses a microcontroller to multiple relays using the same
protect a power transformer. This program. The only thing that needs to
objective was achieved as the system be done is free more ports for
works effectively. As the current multiple input and outputs. This will
circulating in the transformer coil allow for more variables from
varies, the LCD displays the different transformers and multiple
readings. The relay is able to operate outputs to different relays.
and isolate the transformer in case of
Owing to the fact that transformers
an over current fault. The relay is the
are very important components of the
main switching element in the
electrical power system, their safety
system. When energized, it opens its
is paramount. Over current
contacts and de-energizes the
phenomenon can cause damage to
contactor thus isolating the
transformers. Damage to a
transformer to safety in case of
transformer puts interrupts electrical
adverse current conditions. The other
supply to consumers. Blackouts
peripheral devices act as means of
cause economic derailment and
sending warning messages in case a
disorients consumers’ work
fault occurs.
schedule. This explains why this
This system if put to use in power system is needed and can help
transformer protection can serve the mitigate the effects of fault in a
purpose with greater advantages than transformer.
the analogue over current relay. Its
In case an over current fault occurs,
ability to automatically reclose the
the power engineers should consider
circuit after the fault is cleared
taking time to evaluate the possible
warrants the system usability in
cause of this phenomenon. For
remote areas that may be too far for
example, if there is an overload at the
an operator to reach easily and
consumer end, there may be a call to
reconnect the transformer back to the
install a new transformer that can
supply line. The admirable fact about
withstand the increased load. The
it is the accuracy with which it closes
other mitigation option may be to add
and recloses during either normal
another supply line to the consumer
operation or fault occurrence.
so that the consumer demand is met.
44
GOTO
This system comes with a power c) Another limitation is that
supply that can be directly plugged to whereas the relay
240V source and give the appropriate automatically recloses its
operating voltage. The 240V source contacts, the contactor used
can be easily cultivated in a power has to be restarted physically
system line. by an operator. Using a
It can be used in substations or in circuit that automatically
distribution trans recloses the system would be
a great solution.
6.2 limitations and Future d) Lastly, the method of
recommendations relaying the information to an
Transformer protection is a very operator in a control room far
crucial engineering principle. It is from the sub-station has not
clear that the demand for electricity been explored in this project
is increasing fast with increasing due to time constraint. An
population and economic growth. area for future study is how
This demands that more the system can automatically
sophisticated transformer protection send a message to a control
methods be used in the future in order centre and notify the
to maintain a stable electrical power engineers of the exact
supply as will be demanded by the location of a faulted
growing economy. transformer. A GSM module
can be used in this case.
Based n the work done in this project,
the future may demand that some
improvements be made.
45
GOTO
46
47