9 Design and Development of Automated Electronic Switch
9 Design and Development of Automated Electronic Switch
DesignandDevelopmentofAutomatedElectronicSwitchingSystemforEnergyRegulation
Strictly as per the compliance and regulations of :
© 2016. Vinyl Ho Oquino, Tadesse Hailu Ayane, Temesgen Bailie Workie & Simegnew Yihunie Alaba . This is a research/review
paper, distributed under the terms of the Creative Commons Attribution-Noncommercial 3.0 Unported License http://creativecom
mons.org/ licenses/by-nc/3.0/), permitting all non commercial use, distribution, and reproduction in any medium, provided the
original work is properly cited.
Design and Development of Automated
Electronic Switching System for Energy
Regulation
Vinyl Ho Oquino α, Tadesse Hailu Ayane σ, Temesgen Bailie Workie ρ & Simegnew Yihunie Alaba Ѡ
2016
E
the usage of electricity. The modern technology cannot exist
without this electricity. Energy consumption was higher with thiopia is Africa's oldest independent country and
Year
manual controllers as compared to automated controllers. it is second largest in terms of population.[2]
Around 300% increased when the said manual controllers Some advance countries like USA, Germany,
were not managed carefully, especially during weekends. Britain, Korea and even China starts introducing different 79
Study shows that during weekend some of the employees technologies to improve the lifestyle of the people. And
certain room. The aim of this study is to design an to connect from the power source to the load and to
automated switch that will also switch off all the lights power the controller. The low voltage power supply
and disconnect the appliances from the outlet in the gives power to the controller. The SSR supply power
room including the controller. Thus, in this way all the from the source to the controller via low voltage power
loads in the room are totally disconnected from the supply. Room sensor was used to detect whether the
power source. room was occupied or not. The sensor gives signal to
the controller to activate the SSR. It was known that the
II. Materials & Methods only way to access the room at normal procedure was
a) Hardware and Software Components of Automated through the door. The sensing of the occupancy of the
Electronic Switching System room was based on the opening of the door. Power
The block diagram of automated electronic sensor detects the presence or absence of the power
switching system is shown in figure 1. The from the system. The power sensor activates the other
microcontroller was the heart of the circuit. Embedded SSR when the circuit was turned off. These give an
2016
programs were stored in the controller. Any microchip alternative power for the controller during the total
Year
product microcontroller can be used in the study. A 16 shutdown period of the system and regain the power
pin microcontroller was preferred in the study in order to from the power source. The two SSR are form of logical
80 minimize the size of the hardware. The controller OR in the system. The operation of the said SSR follows
controls the solid state relay by giving some voltage the logical OR gate function in the digital system.
Global Journal of Researches in Engineering ( F ) Volume XVI Issue VII Version I
across its control input. The solid state relay (SSR) used
i. Controller Circuit
The hardware design of the controller circuit
was shown in figure 2. The circuit uses PIC16F84A as
main controller. The circuit design uses 4 MHz crystal
oscillator. And based from the datasheet of PIC16F84A,
the manufacturer recommends a 22 pF ceramic
capacitor as filter capacitor in the crystal oscillator, and
10 kilo ohm resistance for the pull down resistor in the
input side of the microcontroller.
2016 Year
81
The SSR was used to minimize the arcing effect Vd = the maximum voltage of the LED inside the opto-
of the electromagnetic relay. The proponent design uses coupler, normally it was found out equal 1.7 V
the MOC3041 as the driver to the triac. The triac serves Id = the current for the LED inside the opto-coupler,
as the switching mechanism in turning on and off the basically the design uses 10 mA as the working current
loads. The value of R1 was based on the datasheet of of the opto-coupler.
the manufacturer. The value of R1 was 180 ohm as per Using the above equation, the value of R2 is
recommendation of the manufacturer. The input side equal to 330 ohms.
was directly connected to 220Vac and gives an output
of 220Vac likewise. The value of R2 was computed b) Embedded Program
using the equation below. The embedded software was written in C, and
then compiled to machine language using mikroC
R= (E-Vd)/Id compiler.
Where:
2016
Figure 4 shows the program flow chart for the when it was vacant it automatically disconnects the load
automated switch. The primary aim of the program was and including the system from the power source. And it
to determine wither the room was vacant or not. And continues until the user terminates the system.
2016 Year
83
room. The value ‘0’ from the sensor means that the
room was open and there is a person inside the room. Figure 8: Prototype of Solid State Relay
84
The value ‘1’ from sensor means that the room was The TRIAC was connected directly to the power
closed and there is nobody inside the room. The SW source and the load. The power going to the load was
Global Journal of Researches in Engineering ( F ) Volume XVI Issue VII Version I
1
represents the reset switch. This allows the being controlled by the TRIAC as per instruction of the
microcontroller determine that the room was not empty. controller.
The value of ‘0’ from the SW1 means that nobody inside
the room. The value ‘1’ from the SW1 means that
someone inside the room. The alarm was only activated
when the door was closed and nobody inside the room.
The alarm turns on for 10 seconds and turn off. The
output value of ‘1’ means that the microcontroller trigger
the SSR and ‘0’ means turn off the SSR. This allows the
load be connected and disconnected from the power
source.
d) The development of the prototype hardware circuit Figure 9: The Reset Switch
After simulating the circuit using PROTEUS
Figure 9 shows the reset switch. The reset
software, the circuit board was prepared. The layout was
switch was developed by modifying internal structure of
developed using ARES software. It uses single sided
the push button switch. The push button switch used
PCB.
was a normally open type. A 10 KΩ resistor was
The prototype controller circuit was shown in
connected in the switch as pull down resistor. The other
figure 7. The board size of the controller circuit was 1.3
terminal of the switch was directly connected to the +5V
in x 1.7 in. The PIC16F84A was used in the controller.
supply on the controller.
The LED 3.5mm was also used as the power indicator
for the circuit.
components in this project were locally available. The b) The energy saving
box was modified in order that the other modules can be The energy saving of a certain load was
placed. computed based on the equation.
2016
interruption. The hardware was also experienced the One specific sample was the room that has a manual
power failure due to power interruption in the area. This control and the room that had an automated control. It
Year
was used to test its functionality even in most critical was found out that the said room had 4 sets of 40W
cases. fluorescent lamp and a corresponding ballast of 40W.
And it was found out that during the first three Each set had 2 lamps with corresponding ballast. The 85
days of operation, it works fine. The sensor and the each set had a total power consumption of 320 watts.
assigned in that room came and do that turning off the 3. California Energy Commission, Energy Saving Tips
lights. for School, 2002-2016, access date Feb. 10, 2016
(http://www.consumerenergycenter.org/tips/schools
.html)
4. Energy Efficient Lighting, US Department of Energy,
access date: 20 October 2016 (http://www.eere.
energy.gov/buildings/documents/pdfs/26467.pdf)
5. John R. Hall, Jr., Home Structure Fires Involving
Electrical Distribution or Lighting Equipment,
National fire Protection Association, March 2008
6. Md. Kamrul Hassan Majumdar, HimelBiswas, Md.
Haider Ali Shaim, KaziTanvirAhmmed, Automated
Energy Saving and Safety System, Conference
2016
Figure 12: Automated Control vs. Manual Control Paper • April 2014, access date: November 10,
Year
2016 (https://www.researchgate.net/publication/262
Figure 12 shows the comparison of the power
186501)
consumption with the used of automated control and
86 7. Vinyl HoOquino, Computerized Lighting Control of
manual control. The graph shows that the losses for 2
AMA Computer Learning Center for Energy
days had a great effect on the power consumption on
Regulation, Philippine e-Library, 2005
Global Journal of Researches in Engineering ( F ) Volume XVI Issue VII Version I