Microcontroller Based Standalone PV System For Wireless Sensor Node
Microcontroller Based Standalone PV System For Wireless Sensor Node
Microcontroller Based Standalone PV System For Wireless Sensor Node
Authorized licensed use limited to: Universitas Brawijaya. Downloaded on May 20,2020 at 05:38:03 UTC from IEEE Xplore. Restrictions apply.
software architecture. We discuss the design of an be small in size and the voltage needed greater than 6V
intelligent system with lightweight and efficient in order for the microcontroller able to sense the
hardware combined with powerful software that voltage.
actively manages the power subsystem for continuous The charge controller should roughly double the
operation. Since solar energy directly enters the lifetime of the battery, by ensuring proper charging
battery, it experiences recharge cycles daily placing and discharging technique. On the other hand, each
significant stress on the battery. This limits the cell is 1.5V and it is certainly not recommended to
system’s lifetime to no more than two years. Such a discharge an entire battery of cells because when the
lifetime is not dramatically larger than that obtainable battery is discharged below 0.8V per cell, one of the
with batteries alone and far from perpetual operation. cells is inevitably weaker than the others, and goes to
In this paper, we present a simple, low cost and mostly zero first. If the battery is further flattened, this battery
digital design with minimal hardware components. The becomes charged in reverse, which again makes it still
microcontroller is programmed to intelligently control weaker. During the recharging process, once batteries
the operation and easily customizable. The life time, reach their 100% charge, the cell starts to heat and the
therefore, will hopefully be increased due to optimized internal pressure builds up, causing the battery to
recharge cycle proposed and demonstrated in the eventually rupture or vent electrolyte. Thus the battery
system. deteriorates rapidly due to more and more
overcharging. The manufacturer suggests these cells
II. SYSTEM ARCHITECTURE should be good for 500 to 1000 cycles if properly
The system functionality can be categorized into treated. In this study, we demonstrate the solution of
charge controller and system monitoring. The charge this problem in such a way that not to charge the
control aspect involves the solar power conversion, battery randomly when panel voltage are available
sensing of panel and battery voltage, and battery rather the battery starts to charge when its discharge
charging, while system monitoring aspect is concerned reaches to a certain (e.g. user-defined) limit.
with switching to different subsystem to increase the
lifetime of battery as well as sensor node. The system III. SYSTEM DESIGN
has four major blocks, such as solar panel, battery, A microcontroller controls the operation of the
microcontroller, switching and the load. Figure 1 entire sensor node [4]. Here, PIC16F877A
shows the block diagram of the proposed PV module microcontroller is used to control the sensor node. The
for sensor node. Harvesting components, such as solar chips possess CMOS FLASH-based 8-bit
panels, and energy storage elements, such as batteries microcontroller packs Microchip's powerful PIC
or ultra-capacitors, have different voltage-current architecture into a 40 pin package. It has wide
characteristics, which must be matched to each other as operating voltage range: 2.0V to 5.5V, 200
well as the energy requirements of the system to nanosecond instruction execution and 35 single word
maximize harvesting efficiency. Furthermore, battery instructions. The PIC power consumption is very low,
non-idealities such as self-discharge and round trip e.g. below 0.6 mA typical @ 3V, 4 MHz, and 20 μA
efficiency, directly affect the energy usage and storage typical @ 3V, 32 kHz and < 1 μA of typical standby
decisions. current. The built-in ADC can be used to take the
analog input like panel or battery voltage and others
sensors for actual sensor node operation. The
controller takes power from the battery and talks to the
voltage and current sensing circuits to determine the
voltages and currents of the solar panel and the battery.
It will charge the battery from panel through switch
when required and connect the load when panel has
sufficient voltage. When panel does not produces any
voltage (usually at night), the controller connect
battery with the load to perform the operation until the
battery discharge reaches to a certain level.
Figure 1. Block diagram of proposed PV module The goal of this design is to provide continuous
power to a sensor node independent of a power grid.
The solar panel has to supply enough power for the
This is accomplished by using solar power and a
load, consumption of the circuit, and to charge the
rechargeable battery. The primary objectives are
battery if it is empty [4, 6]. The solar panel needed to
1137
Authorized licensed use limited to: Universitas Brawijaya. Downloaded on May 20,2020 at 05:38:03 UTC from IEEE Xplore. Restrictions apply.
compact and mostly digital design, efficient operation,
ability to monitor available battery charge status, and
to provide a regulated 5V output. The major benefit is
the use of the renewable solar energy to provide power
to a sensor or any portable device that require up to
50mW to 100mW of power consumption. In addition,
the battery can be used in lower sunlight conditions or
during nights to supply any loads. The available
battery charge could be monitored and the controller
goes into low power mode when little charge is
available.
A. Program flowchart Figure 4. Microcontroller view.
The program flowchart is shown in figure 2.
1138
Authorized licensed use limited to: Universitas Brawijaya. Downloaded on May 20,2020 at 05:38:03 UTC from IEEE Xplore. Restrictions apply.
sufficient voltage then it allows the charger circuit to IV. CONCLUSIONS
turn on. The PIC also monitors the battery voltage (Bv) Solar-powered sensor node could be deployed in
via VR2 through RA1. The PIC only charges the outdoor environments where it would be difficult or
battery when the battery reaches its lower limit (should
impossible to change batteries but long-term operation
be set for charging the battery) and C1 (i. e Panel) has
is required. The main design specifications were to
sufficient voltage. It charges the battery until the
achieve the ability to provide 30-50mW continuously
battery reaches its upper limit (set by default).
Load control: Load gets supply from panel or to the sensor node. The system is accomplished
battery. When PIC gets sufficient voltage from C1 then cheaply using off-the-shelf parts and existing
the load connects to panel via P-MOSFET switch electronics are power-efficient enough to built low
(Q1). Otherwise load connects to the battery via P- power consuming devices. Even though efficiency of
MOSFET switch (Q3). When battery voltage reaches the overall design has not been specified, we have
to its predefined lower limit, then PIC automatically verified the efficiency on individual components and
disconnects the load. On the other hand, PIC is always that the internal circuit does not consume much of the
connected with the battery to avoid system down. power from the solar panel. The circuit provides
Switching: Three P-channels MOSFET (Q1, Q3, necessary power output at 5V as well as monitored the
Q5) are used to efficiently switch to different battery charge constantly for the purpose of internal
subsystems of the power supply unit. Q1 and Q2 control. The design of six solar panels in series
provide voltage to load. When panel voltage is provided enough power for the load and internal
available then RD2 output pin of PIC goes high and circuit consumption as well as was able to charge the
Q2 becomes active. In this way Q2 triggers Q1 and battery when it was more or less discharged. The
load gets supply from panel via Q1 and diode (D1). If software to control the charging process as well as
there is no voltage available in solar panel then RD1 other operation is small and simple enough to fit into
output pin of PIC goes high and Q4 and Q3 get an inexpensive microcontroller as shown in this study.
enabled. Thus load gets connected with the battery via
Finally, at a very unlike case, if the battery runs out,
Q3 and D2.
the system proves to be able to go into a stand-by
Charge control: If battery discharges to its lower
mode as an important feature.
limit at C1 then RD0 output pin of PIC goes low. Thus
Q6 becomes disabled, whereas Q5, Q7 become enable.
Then the battery recharges from lower limit to upper REFERENCES
limit through Q5, D3 and Rx. On the other hand, when [1] Gabriel A. Rincón-Mora, Senior Member, IEEE, and Justin P.
Vogt, Student Member, IEEE, “Self-powered wireless sensor
the battery becomes full charge, RD0 pin goes high
nodes: Among other things, a load management feat”, The
and prevent the battery for overcharge. In this way, we Georgia Tech Analog and Power IC Lab.
avoid the battery to charge randomly when panel [2] K. Iniewski, et al, "Ultra-Low Power Circuit and System
voltage is available thus reduce recharge cycle. When Design Trade-Offs for Smart Sensor Network Applications,"
ITI 3rd Int. Conf. on Information and Communications
the system fails due to power failure then Q6 becomes
Technology, 2005, pp.309-321.
inactive because of no bias voltage at the base. After [3] X. Jiang, J. Polastre, and D. Culler, "Perpetual Environmentally
getting sunlight, the system starts charging the battery Powered Sensor Networks," Proc. 4th Int'l Conf. Information
automatically through Q5, D3 and Rx as Q7 is still on Processing in Sensor Networks/Special Track on Platform
while Q6 is off. Tools and Design Methods for Network Embedded Sensors
(IPSN/SPOTS), Los Angeles, CA, Apr. 2005
Finally, a register (R3) is connected with a Zenner [4] Joel Christopher Jordan, "Design and implementation of a
diode (Z1), which provides a constant voltage for stochastic wireless sensor network", Masters Thesis, University
reference (reference voltage may be taken from PIC of Illinois at Urbana-Champaign, 2004.
internal reference voltage register). Here, we use 6V [5] K. Lahiri, A. Raghunathan, and S. Dey, “Battery-driven system
design: a new frontier in low power design”, in Proc. IEEE
voltage regulator IC named LM7806. We need a 5V International Conference on VLSI Design, pp. 261–267, 2002.
supply for load but we use a 6V regulator, as we use a [6] D.L King, J.A. Kratochvil, and W.E. Boyson. “Field experience
diode OR gate to isolate two switches (Q1 and Q3) to with a new performance characterization procedure for
supply to the load. This diode has an internal loss of photovoltaic arrays”. In Proc. 2nd World Conference and
Exhibition on Photovoltaic Solar Energy Conversion, 1998.
0.7V, so it becomes 5.3V which is near to 5V.
1139
Authorized licensed use limited to: Universitas Brawijaya. Downloaded on May 20,2020 at 05:38:03 UTC from IEEE Xplore. Restrictions apply.