Research Article
An Efficient Renewable Energy Management and Sharing System for Sustainable Embedded Devices
Algorithm 1
Adaptive charging control.
(1) forβ to do | (2)β; | (3)β Calculate based on measured ; | (4) end | (5) , ; | (6) Set timer with the smallest time interval ; | (7) while timer fired do | (8)βfor to βdo | (9)ββ Measure and update ; | (10)βend | (11)βif then | (12)ββ , | (13)βelse | (14)ββ , ; | (15)ββ; | (16)βend | (17)βif Capacitors Full/No External Energy then | (18)ββbreak; | (19)βelse | (20)ββSet timer with interval ; | (21)βend | end |
|