Design_and_implementation_of_a_load_scheduling_embedded_system_for_off_grid_solar_power_systems
Design_and_implementation_of_a_load_scheduling_embedded_system_for_off_grid_solar_power_systems
Abstract— Power drives most activities in health centers and renewable energy off grid systems in such regions an alternative
homes. However, its availability and high cost make it an worth considering[2]. The operation and maintenance costs of a
expensive commodity. Off grid power systems like PV-battery renewable energy based off grid system, especially solar, are
setups are more sensitive to fluctuations in the generation and lower due to the availability of the resource. The system also
load. Power generation in such systems is also intermittent due to generates clean energy which is important in environmental
dynamic weather changes and other natural factors which require conservation and control of the carbon content in the atmosphere
inevitable use of batteries. Batteries are the most expensive part of [3].
off-grid solutions and their use has to be optimized. Furthermore,
these systems, like any other power source, have maximum With the steady drop in the prices of Solar PV, installation
capacities beyond which they should not operate. If these of an off grid solar system has become cheaper than ever. The
limitations are not well observed, usage of the available power remote regions in Africa are seizing the opportunity and several
cannot be maximized and the power equipment may be damaged. health centers and public institutions are creating their own off
In this regard, this paper proposes an embedded system solution grid systems in order to offer more services to the
that schedules appliances to run when there is available power community[4]. However, there is still hesitation in the use of
from solar panels. The appliances are connected to the smart Solar PV due to the high upfront cost of batteries that store
scheduler through a dedicated smart plug that powers the excess energy for use at times of less or no generation from PV.
appliance depending on the conditions set by the smart scheduler.
The cost of operation and maintenance of the batteries is also
This solution not only ensures that loads are served at the earliest
quite high in terms of management. In [5], the optimal
possible availability, but also avoids blackouts in the system.
Furthermore, smart utilization of the resources minimizes the
conditions for maximizing the battery life cycle in a photovoltaic
battery need and hence, the investment costs. system are discussed. One of the conditions is maintaining a
Keywords—load scheduling; off grid systems; photovoltaic good Battery Array to Load ratio (A: L) to ensure that the
systems; smart plug; smart scheduler; load control batteries are not over loaded. However, such a solution requires
large number of batteries, hence large investment costs. The
NOMENCLATURE charge and discharge times of the batteries also have to be
Constant Considerable power to serve the loads observed. When these conditions are not observed, PV systems
become costly in terms of maintenance.
Earliest time of day for obtaining
Latest time of day for obtaining The challenges raised call for the need to reduce on the
Power demand for any load number of batteries required to run the Solar PV off grid system
Running duration for each load and also maintain the batteries at optimal conditions in order to
Max. number of loads that can be served by minimize the cost of running an off grid solar PV system.
, Start time for ith scheduled load Demand side management became more feasible with the
, Finish time for the ith scheduled load tremendous opportunities that ICT brings in the energy sector.
Total Power being consumed by each scheduled load A lot of work has been done in this field with major focus on
Array list of all finish times , reducing the peak load on smart grids. Most of the work suggests
Time when smart scheduler receives a request algorithms [6] and models that can be implemented to minimize
Identifier for the incoming load the cost of energy and also cut the peak load on the grid.
However, they all point at managing terminals that are
I. INTRODUCTION connected to the grid. The utilization of solar power in off grid
Electricity (or electrification) plays a key role in boosting the PV systems is barely considered in their models. The work in
country’s economy. In Africa, the electrification rate is slowly [7] discusses various load scheduling models and ranks them
growing and most regions are still far off the grid. This is according to the percentage of the peak load they shave off the
attributed to the geographical size and infrastructural challenges grid. This is important when choosing the scheduling model to
in these regions [1]. Consequently, they rely on kerosene, implement.
batteries, candles and wood for their energy. Diesel generators In [8], several models are created to show how various
are also commonly used in commercial centers and factories. classes of home appliances consume power. The work in [9]
However, these hydro-carbon sources get depleted and are considers the off grid systems in demand side management by
harmful to humans. This makes the implementation of proposing systems that incorporate distributed energy resources
Authorized licensed use limited to: SRM Institute of Science and Technology. Downloaded on August 28,2024 at 04:50:26 UTC from IEEE Xplore. Restrictions apply.
duration d multiplied by + 1. Whether the load is availability in the socket. Needless to say, the socket on the
smart plug is where the load is plugged. The high level
waiting or running, the user can cancel the operation at his/her architecture of smart scheduler and smart plug are shown in
discretion. In this case, the load is removed from the array and Figure 3.
the wait time for the waiting loads have to be adjusted
accordingly.
III. DESIGN AND IMPLEMENTATION OF THE SMART
SCHEDULING SYSTEM
This section discusses the whole process of the proposed
smart scheduling system design and implementation. The last
subsection summarizes the experiments done with the
implemented system and results obtained.
A. System Requirements
The system has a smart scheduler that schedules all
appliances based on their power rating and priority using a
scheduling algorithm mentioned. The connection between the Figure 3: Smart Plug (Left) and Smart Scheduler (Right) High Level
Architecture
smart scheduler and appliances is through a network of smart
plugs onto which each appliance is plugged. Each appliance C. Operation of the Smart Plug
connects to a specific smart plug that has been specially All appliances have smart plugs to which they are connected.
programmed for it. The smart plug contains power consumption Once plugged, the smart plug sends the ID of the connected
and run duration information for that appliance which it appliance to the smart scheduler so that the appliance can be
transmits to the smart scheduler while sending a schedule added to the schedule. This request to the smart scheduler can
request. The smart plug controls the connection of the appliance only be made when the button on the smart plug is pushed ON
to the smart scheduler and the power source. It communicates by the operator. The smart scheduler then responds with the time
with the smart scheduler that determines the time when to switch the appliance has to wait until it gets powered. On plugging the
the appliance on or off. Communication between these two appliance, the tricolor LED lights red. When the button is
devices can be of any technology while Bluetooth is used for this pushed the smart plug sends the schedule request to the smart
particular implementation. The conceptual diagram is shown in scheduler which responds with the time this particular load has
Figure 2. to wait before it is served. At this point, the LED lights yellow.
The wait time is displayed and counted down from the LCD until
the start time for the appliance to run is reached. It is then that
the smart plug immediately triggers the relay to power the
appliance. At this moment, the tricolor LED lights green. The
appliance then runs for its time slot and switched OFF thereafter.
The user may as well decide to stop the appliance before its time
slot expires. This is done by simply pushing the button the
second time. When the button is pushed, a cancel schedule
request is sent to the smart scheduler which removes the
appliance from the schedule list and the appliance is turned off.
The flowcharts in Figure 4 summarize the operation of the smart
Figure 2: Conceptual Diagram for the proposed Scheduling Embedded plug.
System
D. Operation of the Smart scheduler
B. System Design
The only work of the smart scheduler is to run a load
As already mentioned, the system is a network of smart plugs scheduling algorithm that ensures that at any instant, the
and a central smart scheduler, with Bluetooth as the medium of available power and demand are balanced. In this case, the
communication. A PIC16F887 microcontroller is being used as algorithm discussed in section II is implemented. Once the smart
the control unit in both the smart plug and smart scheduler. A scheduler is powered, it gets P ,t ,t for the
HC-06 Bluetooth module manages the communication and a 16 day,P and d , and starts waiting for schedule requests
x2 LCD is used to display the feedback information. The smart from the smart plugs. On receiving the request, P is
plug has got extra features that enable it to control the load and calculated and the available power is determined by getting the
also give feedback to the user. The extra features are the relay, difference between P and P . If the available power is
tricolor LED and the socket. The micro controller of the smart enough to serve the load, it is powered instantly. Otherwise, it is
plug triggers the relay to switch the load depending on the scheduled to wait for a finite time. In cases where if a load is
commands received from the smart scheduler. The tricolor LED scheduled shall run beyond t , the schedule request is
shows the state of the plugged load. The Green color of the LED dropped. The same applies to schedule requests whose power
implies that the Load is being served by the smart scheduler, demands are higher than P . The smart scheduler
yellow represent the waiting state, whereas the red shows power maintains an array of finish times , t , for both running and
Authorized licensed use limited to: SRM Institute of Science and Technology. Downloaded on August 28,2024 at 04:50:26 UTC from IEEE Xplore. Restrictions apply.
waiting loads. The array is refreshed every second to ensure that
t , that expires is removed from the array. The flow charts
in Figure 5, 6 and 7 summarize the algorithm.
E. System Implementation
The implementation was done on a Lab X1 Programmer kit
using MikroC. Table 1 lists the components that were used to
implement both the smart plug and smart scheduler. Figure 8
shows the lab setup of the smart plug. When a button is pushed,
a request is sent to the smart scheduler through the Bluetooth
module. The smart scheduler responds with the time the smart
plug should wait before it switches ON the load. This wait time
is counted down from the LCD. Once the time is up, the load is
turned ON and the usage time counter is started. The load runs
for a specific duration, as instructed by the smart scheduler and
is then switched OFF once the appointed usage time expires.
TABLE I: LIST OF SYSTEM COMPONENTS
Component Type
Micro Controller PIC16F887
Bluetooth Modules HC-05 and HC-06
LCD 16x2
4 Relay Module SRD-05VDC-SL-C
PIC Lab Kit X1
LEDs Red, Yellow and Blue
Figure 6: Flowchart for scheduling a load
Authorized licensed use limited to: SRM Institute of Science and Technology. Downloaded on August 28,2024 at 04:50:26 UTC from IEEE Xplore. Restrictions apply.
F. Experiment and Results
The load scheduling embedded system prototype was
successfully developed and tested in the laboratory. In the
experiment, LEDs were connected to the Relays of different
smart plugs and schedule requests sent to the smart scheduler.
The smart scheduler sent back different wait times to each smart
plug. The smart plugs counted down the wait time and turned
ON their respective LED when the wait time had elapsed. All
the LEDs kept lighting for the same duration and were
automatically turned OFF by their respective smart plug when
the running duration had elapsed.
Figure 8: Smart Scheduler (Left) and Smart Plug (Right) in their default states Figure 9: Prioritizationof Loads based on Service History
Authorized licensed use limited to: SRM Institute of Science and Technology. Downloaded on August 28,2024 at 04:50:26 UTC from IEEE Xplore. Restrictions apply.
ACKNOWLEDGMENT [8] D. Li, X. Liu, S. Lin, L. Cui, and J. Ren, “Design and load
control strategy of smart domestic electric system,” Proc.
This work is supported by Carnegie Mellon University under 2014 Int. Conf. Intell. Green Build. Smart Grid, IGBSG 2014,
Smart Embedded Solutions Grant, 2016. no. 51177098, 2014.
[9] R. Sureshkumar and K. R. Remya, “An Efficient Energy
REFERENCES Management and Household Appliances Scheduling for
[1] N. Cook, R. J. Campbell, P. Brown, and M. Ratner, Residential Customers using Embedded System,” Int. J.
“Powering Africa : Challenges of and U . S . Aid for Emerg. Technol. Adv. Eng., vol. 4, no. 1, pp. 623–628, 2014.
Electrification in Africa,” Congr. Res. Serv., 2015. [10] M. Chen and C. Lin, “Design and Implementation of a Smart
[2] K. S. Lackner, “Comparative Impacts of Fossil Fuels and Home Energy Saving System By Multi-Microprocessors,”
Alternative Energy Sources,” Issues Environ. Sci. Technol., Consum. Electron. - Taiwan (ICCE-TW), IEEE Int. Conf. 6-8
pp. 1–41, 2010. June 2015 ,Taipei, Taiwan, pp. 410–411.
[3] J. Goldemberg, “The Case for Renewable Energies,” Int. [11] M. Jahn, M. Jentsch, C. R. Prause, F. Pramudianto, A. Al-
Conf. Renew. Energies, February, 2004, Bonn, p. 16. Akkad, and R. Reiners, “The energy aware smart home,” 5th
[4] M. B. Philippa Marshall, Phil Wallace, “Module 14: Demand- Int. Conf. Futur. Inf. Technol. (FutureTech), IEEE., pp. 1–8,
side management sustainable energy regulation and 2010.
policymaking for africa,” Sustain. Energy Regul. [12] B. S. Koay, S. S. Cheah, Y. H. Sng, P. H. J. Chong, P. Shum,
Policymaking Africa, Energy Sect. Africa, pp. 8–9. Y. C. Tong, X. Y. Wang, Y. X. Zuo, and H. W. Kuek, “Design
[5] J. P. Dunlop and B. Farhi, “Recommendations for and implementation of Bluetooth energy meter,” Information,
Maximizing Battery Life in Photovoltaic Systems : A Review Commun. Signal Process. 2003 Fourth Pacific Rim Conf.
of Lessons Learned Authors,” Sol. Energy Power to Choose, Multimedia. Proc. 2003 Jt. Conf. Fourth Int. Conf. 15-18
no. 321, pp. 1–7, 2001. Dec. 2003, vol. 3, pp. 1474–1477 vol.3.
[6] S. R. Ayyubi, “Grid Planning : Agent Based Approach for [13] D. Niyigena, C. Habineza, and T. S. Ustun, “Smart Energy
Early Notification of Air Conditioning Loads to Smart Grid,” Management for PV Energized Health Centers in
IEEE 10th Conf. Ind. Electron. Appl. (ICIEA),2015, Underserved Communities,” 4th Int. Conf. Micro Gener.
Auckland, New Zeal., pp. 1772–1777. Relat. Technol. (Microgen 4), 28-30 Oct. 2015, Tokyo, Japan.
[7] M. N. Ullah, N. Javaid, I. Khan, A. Mahmood, and M. U. [14] D. Niyigena, C. Habineza, and T. S. Ustun, “Computer-based
Farooq, “Residential Energy Consumption Controlling Smart Energy Management System for Rural Health
Techniques to Enable Autonomous Demand Side Centers,” IEEE Int. Renew. Sustain. Energy Conf. (IRSEC),
Management in Future Smart Grid Communications,” 2013 2015, Marrakesh, Morocco.
Eighth Int. Conf. Broadband Wirel. Comput. Commun. Appl.,
pp. 545–550, 2013.
Authorized licensed use limited to: SRM Institute of Science and Technology. Downloaded on August 28,2024 at 04:50:26 UTC from IEEE Xplore. Restrictions apply.