Professional Documents
Culture Documents
net/publication/349303354
CITATION READS
1 2,377
5 authors, including:
Sudha Yelmareddy
Malla Reddy Engineering College
10 PUBLICATIONS 1 CITATION
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Implementation of Smart Letter Box System through the Wireless Sensor Networks View project
All content following this page was uploaded by Sudha Yelmareddy on 14 February 2021.
E-Mail: anithamrec1@gmail.com
Abstract— Auto supply switching is basically selection of supply from multiple available power sources
automatically by using microcontroller concept that is to check the availability of the source and switching to that
available source to ensure uninterrupted power supply to load. In case of the electrical appliance control using
automation causes more safety. Auto supply switching is a prototype for the same which is auto change to other
source when main supply fails without human interaction in this system we are designing an embedded circuit to
control and ensure auto supply switching. In case all 4 phases are available, then the switching will be in the
default phase. Four relays are there to control the switching. As it is not feasible to provide all 4 different sources
of supply, one source with alternate switches are provided to get the same function. In this project we are having
4 switches which we consider as 4 different source of supply. When we press any of the switches it shows the
absence of that particular source which is connected to microcontroller as input signals. Here we are using 8051
family microcontroller. The output of microcontroller is given to the ULN2803 this acts as a relay driver. The
current phase working is displayed on LCD also.
Keywords— Microcontroller, ULN 2803 Relay driver, Relay, Resistors, capacitors, oscillators, diode, Power supply.
I. INTRODUCTION
The outline of the project is selection of supply from mains, generator, and inverter and solar automatically by using
microcontroller concept. As it is not feasible to provide all 4 different sources of supply, one source with alternate
switches are provided to get the same function. In this project we are having 4 switches which we consider as 4
different sources of supply. When we press any of the switches it shows the absence of that particular source which
is connected to microcontroller as input signals. Here we are using 8051 family microcontrollers. The output of
microcontroller is given to the ULN2803 this acts as a relay driver. This can drive up to 7 relays. The relays which
are used hear are 12V relay.
The output can be observed using lamp which is getting uninterrupted power supply from other means if main
supply is cut off. The power supply consists of a step-down transformer 230/12V, which steps down the voltage to
12V AC. This is converted to DC using a Bridge rectifier. The ripples are removed using a capacitive filter and it is
then regulated to +5V using a voltage regulator 7805 which is required for the operation of the microcontroller and
other components.
Automating feature is now the need of the day. It is user friendly and easy to use. It saves time too. This project is
also a proto-type to automation of the system. In the earlier days (even today at some places) the manual operations
are frequent. When the main supply goes off the person manually turn on the generator. In case of the electrical
appliance control using automation causes more safety.
This project is a prototype for the same which is auto change over to generator when main supply fails. In this
system we are designing an embedded circuit to control this. In case there are four phases, then the switching will be
in the default phase. Four relays are there to control the switching. The phases will be shown by the operation of
switch that is on /off.
According to the conventional model of current flow originally established by Benjamin Franklin and still followed
by most engineers today, current is assumed to flow through electrical conductors from the positive to
the negative pole. In actuality, free electrons in a conductor nearly always flow from the negative to
Special Issue:
Department of Electrical and Electronics Engineering, Malla Reddy Engineering College (Autonomous)
© Malla Reddy Engineering College (Autonomous), Vol. 5, Issue 1, March 2019. 5
Journal of Research in Science, Technology, Engineering and Management (JoRSTEM)
ISSN: 2456-0197
the positive pole. In the vast majority of applications, however, the actual direction of current flow is irrelevant.
Therefore, in the discussion below the conventional model is retained. Terminal to the right along the red (positive)
path to the output, and returns to the lower supply terminal via the blue (negative) path. In each case, the upper right
output remains positive and lower right output negative. Since this is true whether the input is AC or DC, this circuit
not only produces a DC output from an AC input, it can also provide what is sometimes called "reverse polarity
protection".
In the diagrams below, when the input connected to the left corner of the diamond is positive, and the input
connected to the right corner is negative, current flows from the upper supply
Switches it shows the absence of that particular source which is connected to microcontroller as input signals. Here
we are using 8051 family microcontroller. The output of microcontroller is given to the ULN2003 this acts as a relay
driver. This can drive up to 7 relays.
The relays which are used hear are 12V relay. The output can be observed using lamp which is getting uninterrupted
power supply from other means if main supply is cut off. The power supply consists of a step down transformer
230/12V, which steps down the voltage to 12V AC.
This is converted to DC using a Bridge rectifier. The ripples are removed using a capacitive filter and it is then
regulated to +5V using a voltage regulator 7805 which is required for the operation of the microcontroller and other
components. Automating feature is now the need of the day. It is user friendly and easy to use. It saves time too.
This project is also a proto-type to automation of the system shown in Fig. 1.1.
In the earlier days (even today at some places) the manual operations are frequent. When the main supply goes off
the person manually turn on the generator. In case of the electrical appliance control using automation causes more
safety.
This project is a prototype for the same which is auto change over to generator when main supply fails. In this
system we are designing an embedded circuit to control this. In case there are four phases, then the switching will be
in the default phase. Four relays are there to control the switching. The phases will shown by the operation of switch
that is on /off.
II. BLOCK DIAGRAM
Special Issue:
Department of Electrical and Electronics Engineering, Malla Reddy Engineering College (Autonomous)
© Malla Reddy Engineering College (Autonomous), Vol. 5, Issue 1, March 2019. 6
Journal of Research in Science, Technology, Engineering and Management (JoRSTEM)
ISSN: 2456-0197
Fig. 3.1 Supply from source 2 when 1 off Fig. 3.2 Supply from source 3 when 1&2 off
Fig. 3.3 supply from source 4 when 1,2&3 off Fig. 3.4 when four sources are off state
Special Issue:
Department of Electrical and Electronics Engineering, Malla Reddy Engineering College (Autonomous)
© Malla Reddy Engineering College (Autonomous), Vol. 5, Issue 1, March 2019. 7
Journal of Research in Science, Technology, Engineering and Management (JoRSTEM)
ISSN: 2456-0197
B. Principle
The brain of the project is microcontroller. There are switches to represent the power source and their on/off
condition shows the availability or unavailability of the power source. This signal is given to the microcontroller and
it is programmed to fulfil the above requirements. The output of the microcontroller is given to ULN2803 relay
driver. The relay finally selects the phase in terms of ac voltage.
D. Component Details:
• Hardware:
Microcontroller
ULN 2803 Relay driver
Relay
Resistors, capacitors, oscillators, diode.
Power supply
IV. MICROCONTROLLER
The microcontroller used here is a common 8 bit Atmel microcontroller AT89s8253.It is a low-power, high-
performance CMOS 8-bit microcontroller with12K bytes of In-System Programmable (ISP) Flash program memory
and 2K bytes of EEPROM data memory. It has 32 programmable input output lines.
B. Features
• TTL, DTL, PMOS, or CMOS Compatible Inputs
• Output Current to 500 mA
• Output Voltage to 95 V
• Transient-Protected Outputs
• Dual In-Line Package or Wide-Body Small-Outline Package
Special Issue:
Department of Electrical and Electronics Engineering, Malla Reddy Engineering College (Autonomous)
© Malla Reddy Engineering College (Autonomous), Vol. 5, Issue 1, March 2019. 8
Journal of Research in Science, Technology, Engineering and Management (JoRSTEM)
ISSN: 2456-0197
C. Relays:
Relays are electromechanical devices, which are used as a switch. Current flowing through the coil of the relay
creates a magnetic field which attracts a lever and changes the switch contacts. The main advantages of using relay
as a switch is that, they provide electrical isolation between inputs with the help of magnetic coupling and also we
can handle a large power using a relay. There are different types of relays are available and they can be categorized
in various ways. For example relays can be SPST, SPDT, DPST, DPDT etc. SPDT stands for Single Pole Single
Throw, DPDT stands for Double Pole Double Through and so on. Here we have used SPDT switch.
V. SOFTWARE
The software includes the compiler for programming the controller that is MIKRO -C Compiler. The MIKRO C for
8051 Compiler is a powerful feature-rich development tool for Atmel's 8051 microcontrollers. It is designed to
provide the user with the easiest possible solution for developing applications for embedded systems without
compromising on performance. It’s highly advanced integrated development environment (IDE), broad set of library
routines, ready-to-run and comprehensive documentation should be more than enough to get anyone off to a great
start when developing 8051 applications.
Advantages
• It is user-friendly.
• Safer to use.
• Reduces the time of switching due to automation.
• Requires least maintenance
• Risk of short circuiting between two phases is completely removed.
A. AT89S8253
Special Issue:
Department of Electrical and Electronics Engineering, Malla Reddy Engineering College (Autonomous)
© Malla Reddy Engineering College (Autonomous), Vol. 5, Issue 1, March 2019. 9
Journal of Research in Science, Technology, Engineering and Management (JoRSTEM)
ISSN: 2456-0197
Fast
Icons
Projec t
Exp lorer
Controller
Settings
library
REFERENCES
Special Issue:
Department of Electrical and Electronics Engineering, Malla Reddy Engineering College (Autonomous)
© Malla Reddy Engineering College (Autonomous), Vol. 5, Issue 1, March 2019. 10
Journal of Research in Science, Technology, Engineering and Management (JoRSTEM)
ISSN: 2456-0197
[8] B Bhargava Reddy, D Sivakrishna and A V Sudhakara Reddy “Modelling and Analysis of Wind Power
Generation Using PID Controller”, International Journal For Scientific Research & Development (IJSRD),
Vol.1, No.9, pp.2045-2049, November 2013.
[9] P Prasad, B Bhargava Reddy and A V Sudhakara Reddy “Power Loss Minimization in Distribution System
using Network Reconfiguration with Particle Swarm Optimization”, International Journal of Engineering
Science & Advanced Technology (IJESAT), Vol.5, Iss.3, pp.171-178, May 2015.
[ 10 ] K.Surekha and A.V.Sudhakara Reddy “A New Control Topology for Smart Power Grids using Bi-directional
Synchronous VSC”, International Journal of Informative & FuturisticResearch, Vol.2, No.10, PP.3695-3704,
June 2015.
[ 11 ] A. V. Sudhakara Reddy, Prof. M. Damodar Reddy, “Optimization of Distribution Network Reconfiguration
Using Dragonfly Algorithm”, Journal of Electrical Engineering, Vol.16, No.4, No.30, pp.273-282, 2017.
[ 12 ] A. V. Sudhakara Reddy, Dr. M. Damodar Reddy, “NetworkReconfiguration of Distribution System for
maximum loss reduction using Sine Cosine Algorithm”, International Journal of Engineering Research and
Applications (IJERA),Vol.7, No.10, pp.34-39, October 2017.
[ 13 ] A. V. Sudhakara Reddy, Dr. M. Damodar Reddy, “Optimal Capacitor allocation for the reconfigured
Network using Ant Lion Optimization algorithm”, International Journal of Applied Engineering Research
(IJAER), ISSN:0973-4562,Vol.12, No.12, pp.3084-3089,July 2017.
[ 14 ] A. V. Sudhakara Reddy, M. Damodar Reddy and Y. V. Krishna Reddy “Feeder Reconfiguration of
Distribution Systems for Loss Reduction and Emissions Reduction using MVO Algorithm”, Majlesi Journal
of Electrical Engineering,Vol.12, No.2, pp.1-8, June 2018.
[ 15 ] S.Bharathi, A.V.Sudhakara Reddy, Dr.M.Damodar Reddy, “Optimal Placement of UPFC and SVC using
Moth-Flame Optimization Algorithm”, International Journal of Soft Computing and Artificial Intelligence,
ISSN: 2321-4046, Vol.5, No.1, pp.41-45, May2017.
[ 16 ] Kalyani S, A. V. Sudhakara Reddy and N. Vara Prasad “Optimal Placement of Capacitors in Distribution
Systems for Emission Reduction Using Ant Lion Optimization Algorithm”, International Journal of Current
Advanced Research, Vol.7, No.11, pp.16339-16343, 2018.
[ 17 ] Y V Krishna Reddy, M. Damodar Reddy and A. V. Sudhakara Reddy “Flower Pollination Algorithm for
Solving Economic Dispatch with Prohibited Operating Zones and Ramp Rate Limit Constraints”, Journal of
Emerging Technologies and Innovative Research (JETIR), Vol.5, Iss.10, pp.498-505, 2018.
[ 18 ] S. Sudhakara Reddy, N. Rajeswaranand V. K. V. Kesava, "Strategic Planning to Promote Engineering
Projects in Community Service(EPICS) in Engineering Institutions," 2018 World Engineering Education
Forum - Global Engineering Deans Council (WEEF-GEDC), Albuquerque, NM, USA, 2018, pp. 1-4.
Special Issue:
Department of Electrical and Electronics Engineering, Malla Reddy Engineering College (Autonomous)
© Malla Reddy Engineering College (Autonomous), Vol. 5, Issue 1, March 2019. 11