Dosine Publication
Dosine Publication
Dosine Publication
net/publication/354283006
CITATIONS READS
3 923
1 author:
SEE PROFILE
All content following this page was uploaded by Michael Oluwatosin Omojoyegbe on 01 September 2021.
Abstract— This paper presents the design and construction of caused by a number of occurrences such as supply system
a low cost under and over voltage protective device, which was faults, equipment failures, or malfunctions in control
fabricated using a microcontroller, transistor, IC and other equipment. Under-voltage might result into brownout,
discrete components. A microcontroller PIC16F877 is at the distortion or permanent damage while overvoltage in the form
heart of the device which performs the major control of the of spikes and surges could cause distortion, burn-out, melt-
device. The device is simple and of low cost. It can withstand down, fire, electro-pulsing and permanent damage.
loads up to 2KVA and the required set voltage range for the Owing to the incessant damages done by fluctuations in
device to allow supply to the connected load at the output the power supply, there is dire need to address the problem
varies from 200 – 240 Volts. It can be used to protect loads through other alternatives, which give birth to design and
such as refrigerator, T.V., VCR/DVD players etc. from construction of an equipment to protect the connected loads
undesirable over and under voltages, as well as surges caused against under and over voltage supply. Under and over
due to sudden failure/resumption of mains power supply. voltage protection is needed between supply terminal and the
This device can be used directly as a standalone equipment appliances (connected loads).
between the mains supply and the load, or it may be inserted
between an existing automatic/manual stabilizer and the load. II. Materials and Methods
The over/under voltage cut-off with time delay provides The main purpose of the device is to isolate the load from
over/under-voltage protection, and protection against over voltage and under voltage conditions by controlling the
transients. relay tripping coil using a PIC micro controller. The
Keywords— microcontroller, over voltage, under voltage, microcontroller will compare the supply voltage with the
protection. desired pre-set voltage and will operate the tripping coil in the
relay if the input voltage falls below or above the pre-set
I. Introduction range of values. The under voltage and the over voltage
Voltage irregularities are one of the greatest power quality protective device is shown in block diagram in Figure 1.
issues facing industry and home today and often times, is Input Voltage Set Voltage
to the relay contacts in the device which connects the load to the
supply when the supply is within 200V – 240V range.
To calculate the value of the base resistor, the following were of components. The calibration is to set the potentiometer for
considered: threshold tripping of the relay in accordance to the pre-set
VIN = 5V (from microcontroller), and the relay that is used has a values in the microcontroller.
coil resistance of 120Ω. To protect the load from switching surges as well as from
Therefore, the relay coil current = collector saturating current = quick changeover (off and on) effect of over/under-voltage
ICSAT = 12V/120Ω = 100mA. relay, in case the mains voltage starts fluctuating in the
Assuming β = 100 (for BC547), vicinity of under or over voltage pre-set points, an „on-time‟
I CSAT delay was programmed in the microcontroller. When the
IB
mains supply goes out of pre-set (over or under voltage)
limits, the relay/load is turned off immediately and it is turned
(2)
„on‟ only when A.C. mains voltage settles within the pre-set
IB = 100/100 =1mA. limits for a period equal to the on-time delay period. The on-
The actual base current flowing, IBSAT must be higher than time delay period was made programmable for 500
the calculated base current IB to ensure base saturation. The milliseconds to 20 seconds duration. In the device,
base resistor, R1 must be able to provide this saturating base programmed on-time delay of 1 second was found
current.
satisfactory.
Using a 1KΩ resistor would ensure that the transistor is fully
“ON” when current passes out from the micro-controller 5V
source, i.e.
Vo VBE
I BSAT (3)
R1
= (5 – 0.7)/1x103
= 4.3mA which is >1mA.
(a) (b)
B. Testing
(b) There are two types of test carried out on the developed
device, they are Manual Test and Calibration.
Figure 5: (a) The PIC16F877A microcontroller, (b) The USB 1) Manual Test
programmer that was used. During the process of carrying out this test, the toggle
switch was put on the „Manual‟ test position. Then, the
The circuit was first bread boarded for effective
voltage protection device was turned ON, and it initially
manipulation of the design, and was tested to ascertain
displayed “Please wait” on the LCD unit, before the pre-set
satisfactory operation. The device was tested based on each
input voltage (200-240 volts) was finally displayed. The
stages of the design. The components were then assembled and
potentiometer was varied until mains voltage is supplied to
soldered both on Vero board and PCB, and then placed in a
the load. The purpose of the manual test is to verify the
plastic casing. The complete and populated circuit boards were
functionality of the microcontroller.
assembled and coupled in the plastic casing together with
2) Calibration
accessories such as output and input terminals, potentiometer
With the switch in „Calibration‟ position, the
knobs, input power cable, toggle switch, liquid crystal display
potentiometer was adjusted to divide down the voltage being
and output triggering indicator green light. Figure 6 shows the
monitored by the microcontroller to a safe value. Also, as the
device under construction; Figure 7(a) shows the dimension of
input mains supply voltage is varied using a variac, the
the casing, and Figure 7(b) shows the completed device.
potentiometer was used to set the threshold for tripping of the
relay. Immediately the output set voltage is reached, the load
received mains supply without any problem.
The completed device was tested with 200W
incandescent bulbs and house appliances such as television,
DVD players, refridgerator, and single phase surface pump;
and the performance was satisfactory. The condition for
output triggering was stable after several testing. The output
set voltage of 200-240 volts was maintained throughout the
test period.
IV. Conclusion
The aim of designing and constructing a low cost micro –
controller based under and over voltage protective device was
achieved in this work. The device supplies power to the
connected load whenever the input supply is within the
required pre-set voltage, thereby protecting the output
Figure 6: The device under construction.
connected loads from un-necessary damages. The device is
found to be economical, easier to maintain and repair. The iv. Gurevich H., and Vladimir S. (2005) “Electrical
device cost about $50 to produce. Relays: Principles and Applications” CRC Press, London-
New York.
References v. Ian S. L. (2000) “Passive Components for Circuit
i. Bayindir R., Sefa I., Cola I., and Bektas A. (2008) Design”, Texas, USA, p. 170. ISBN 008051359X.
“Fault Detection and Load Protection Using Sensors”, IEEE vi. Maddock R. J. and Calcute P. (1994) “Electronics:
Transactions on Energy Conversion, Vol. 23, Issue 3, pp. 734– A Course for Engineers” 2nd Edition; Longman Essek,
741. London.
ii. Close K. J., and Yarwood J. (1979) “Experimental vii. Martin P. B. (2008) “Programming 8-Bit PIC
Electronics for Students” 1st Edition, Chapman and Hall Ltd, Microcontrollers in C with Interactive Hardware Simulation”
Britain. ISBN: 978-0-7506-8960-1.
iii. Delton T. H. (1989) “Basic Electronic Theory with viii. Paul H., and Winfield H. (1989) “The Art of
Projects and Experiment” 3rd Edition; TAB Book Inc. Blue Electronics”, Second Edition, Cambridge University Press,
Ridge Summit, P.A. Cambridge MA, p. 58, ISBN 0-521-37095-7.