Lyapunov-Guided Energy Scheduling and Computation Offloading for Solar-Powered WSN
Abstract
:1. Introduction
- (1)
- We integrate solar power provision and multi-access edge computing to formulate a multi-terminal MEC framework for partial offloading with solar energy to provide a continuous energy provision to the terminal nodes, adapting to the high energy consumption and high computation requirements for remote video monitoring networks in remote areas, such as isolated microgrids and high-voltage transmission and distribution systems.
- (2)
- We define a long-term offloading energy efficiency function to measure the benefits of solar-powered offloading by considering the long-term offloading computations and long-term energy provision. Considering the stochastic nature of the solar energy arrival and channel state, we developed a long-term stochastic optimization problem to maximize network energy efficiency under the constraints of energy queue stability, task queue stability, peak transmission power, and maximum CPU cycle frequency for each user.
- (3)
- We propose a Lyapunov-based online computational offloading and resource allocation algorithm to find the optimal solution to the long-term energy efficiency and queueing backlog problems, which does not require a priori knowledge of the channel state and energy arrival and therefore is a more realistic solution for practical solar-powered MEC systems.
2. System Model and Assumption
3. Problem Formulation
4. Lyapunov-Based Joint Online Optimization Algorithm for Partial Task Offloading Decisions and Resource Allocation
4.1. Problem Reformulation Based on Lyapunov Optimization Theory
4.2. Local Computing Resource Optimisation
4.3. Joint Optimisation of Power Control and Time Allocation
Algorithm 1: Lyapunov-based Joint Online Optimization Algorithm for Partial Task Offloading Decisions and Resource Allocation(LyOTR) | ||
Input: | K,N,T,G, | |
Output: | Optimal network energy efficiency and optimal resource allocation schemes | |
1 | Initialize g = 0, ,,,, T = 200 | |
2 | while and do | |
3 | Calculate the optimal CPU frequency by Equation (29); | |
4 | Solving the subproblem P(2.3) by the interior point method yields the optimal transmitting energy and time allocation variables for the sensor nodes. | |
5 | Verification of energy efficiency convergence according to Equation (12). | |
6 | Update the initial energy queue & initial task queue & energy efficiency of the current time slot according to Equations (1), (5) and (6), respectively. | |
7 | g = g + 1. | |
Calculate ; | ||
8 | End while |
5. Performance Analysis of Algorithms
6. Results and Discussion
6.1. Simulation Setup
- “All local” represent sensor perform all computational tasks locally based on the whole harvested solar energy. In this case, the optimal energy broadcast power is obtained by solving (12) with ,.
- “All MEC” represent sensor offloads all tasks to HAP for edge processing. In this case, the optimal transmit power is obtained by solving (12) with .
- “Fixed broadcast power” is referenced from the literature [22], which has a similar energy harvesting and offloading mechanism as this paper, where sensing nodes perform local computing or remote offloading for maximizing the long-term energy efficiency based on the harvested RF energy. The difference is that the HAP has a constant and stable energy provision and the energy broadcast power is constant and takes a maximum value .
- “Fixed energy allocation”: indicates that the node uses the collected energy proportionally for local computing and remote offloading. For simplicity, we set the scaling factor is 0.5.
6.2. Performance for Network
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Liu, F.; Cao, Y.J.; Zhang, G.A. Collaborative Resource Allocation Strategies for Mobile Edge Computing in vehicular networks. Telecommun. Eng. 2021, 61, 858–864. [Google Scholar]
- Jiang, X.; Yu, F.R.; Song, T.; Leung, V.C. A survey on multi-access edge computing applied to video streaming: Some research issues and challenges. IEEE Commun. Surv. Tutor. 2021, 23, 871–903. [Google Scholar] [CrossRef]
- Grasso, C.; Schembra, G. A fleet of MEC UAVs to extend a 5G network slice for video monitoring with low-latency constraints. J. Sens. Actuator Netw. 2019, 8, 3. [Google Scholar] [CrossRef] [Green Version]
- Amutha, J.; Sharma, S.; Nagar, J. WSN strategies based on sensors, deployment, sensing models, coverage and energy efficiency: Review, approaches and open issues. Wirel. Pers. Commun. 2020, 111, 1089–1115. [Google Scholar] [CrossRef]
- Luo, J.; Yin, L.; Hu, J.; Wang, C.; Liu, X.; Fan, X.; Luo, H. Container-based fog computing architecture and energy-balancing scheduling algorithm for energy IoT. Future Gener. Comput. Syst. 2019, 97, 50–60. [Google Scholar] [CrossRef]
- Cecchinato, D.; Berno, M.; Esposito, F.; Rossi, M. Allocation of computing tasks in distributed MEC servers co-powered by renewable sources and the power grid. In Proceedings of the ICASSP 2020—2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Barcelona, Spain, 4–8 May 2020; pp. 8971–8975. [Google Scholar]
- Li, Y.; Li, C.; Wu, G.; Zhang, C. Research on high-precision time distribution mechanism of multi-source power grid based on MEC. In Proceedings of the 2019 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Beijing, China, 21–23 October 2019; pp. 1–5. [Google Scholar]
- Jia, S.; Hao, W.; Gao, Z.; Yang, S. Resource Allocation and Task Offloading Strategies in Mobile Edge Computing Systems for Task Migration. Telecommun. Eng. 2022, 62, 1037–1043. [Google Scholar]
- Jiang, C.; Fan, T.; Gao, H.; Shi, W.; Liu, L.; Cérin, C.; Wan, J. Energy aware edge computing: A survey. Comput. Commun. 2020, 151, 556–580. [Google Scholar] [CrossRef]
- Xu, C.; Zheng, G.; Zhao, X. Energy-minimization task offloading and resource allocation for mobile edge computing in NOMA heterogeneous networks. IEEE Trans. Veh. Technol. 2020, 69, 16001–16016. [Google Scholar] [CrossRef]
- Heidari, A.; Jamali, M.A.J.; Navimipour, N.J.; Akbarpour, S. A QoS-Aware Technique for Computation Offloading in IoT-Edge Platforms Using a Convolutional Neural Network and Markov Decision Process. IT Prof. 2023, 25, 24–39. [Google Scholar] [CrossRef]
- Feng, J.; Pei, Q.; Yu, F.R.; Chu, X.; Shang, B. Computation Offloading and Resource Allocation for Wireless Powered Mobile Edge Computing With Latency Constraint. IEEE Wirel. Commun. Lett. 2019, 8, 1320–1323. [Google Scholar] [CrossRef]
- Li, H.; Xiong, K.; Lu, Y.; Gao, B.; Fan, P.; Letaief, K.B. Distributed Design of Wireless Powered Fog Computing Networks With Binary Computation Offloading. IEEE Trans. Mob. Comput. 2023, 22, 2084–2099. [Google Scholar] [CrossRef]
- Chen, F.; Wang, A.; Zhang, Y.; Ni, Z.; Hua, J. Energy Efficient SWIPT Based Mobile Edge Computing Framework for WSN-Assisted IoT. Sensors 2021, 21, 4798. [Google Scholar] [CrossRef]
- Alhelaly, S.; Muthanna, A.; Elgendy, I.A. Optimizing Task Offloading Energy in Multi-User Multi-UAV-Enabled Mobile Edge-Cloud Computing Systems. Appl. Sci. 2022, 12, 6566. [Google Scholar] [CrossRef]
- Zhou, F.; Wu, Y.; Hu, R.Q.; Qian, Y. Computation Rate Maximization in UAV-Enabled Wireless-Powered Mobile-Edge Computing Systems. IEEE J. Sel. Areas Commun. 2018, 36, 1927–1941. [Google Scholar] [CrossRef] [Green Version]
- Li, H.; Diao, X.; Zhang, Z.; Shang, Z.; Yang, L. Resource Allocation in Multi-UAV-Enabled MEC System for NOMA-IoT. Telecommun. Eng. 2022, 62, 553–561. [Google Scholar]
- Elgendy, I.A.; Meshoul, S.; Hammad, M. Joint Task Offloading, Resource Allocation, and Load-Balancing Optimization in Multi-UAV-Aided MEC Systems. Appl. Sci. 2023, 13, 2625. [Google Scholar] [CrossRef]
- Wang, F.; Xing, H.; Xu, J. Real-Time Resource Allocation for Wireless Powered Multiuser Mobile Edge Computing With Energy and Task Causality. IEEE Trans. Commun. 2020, 68, 7140–7155. [Google Scholar] [CrossRef]
- Li, X.; Bi, S.; Quan, Z.; Wang, H. Online Cognitive Data Sensing and Processing Optimization in Energy-Harvesting Edge Computing Systems. IEEE Trans. Wirel. Commun. 2022, 21, 6611–6626. [Google Scholar] [CrossRef]
- Acheampong, A.; Zhang, Y.; Xu, X. A parallel computing based model for online binary computation offloading in mobile edge computing. Comput. Commun. 2023, 203, 248–261. [Google Scholar] [CrossRef]
- Mao, S.; Leng, S.; Maharjan, S.; Zhang, Y. Energy Efficiency and Delay Tradeoff for Wireless Powered Mobile-Edge Computing Systems with Multi-Access Schemes. IEEE Trans. Wirel. Commun. 2020, 19, 1855–1867. [Google Scholar] [CrossRef]
- Bi, S.; Huang, L.; Wang, H.; Zhang, Y.A. Lyapunov-Guided Deep Reinforcement Learning for Stable Online Computation Offloading in Mobile-Edge Computing Networks. IEEE Trans. Wirel. Commun. 2021, 20, 7519–7537. [Google Scholar] [CrossRef]
- Yao, H.; Yao, Y. Transmission Power Strategy Optimization of Solar Wireless Sensor Network Node. Telecommun. Eng. 2018, 58, 997–1004. [Google Scholar]
- Ku, Y.; Sapra, S.; Baidya, S.; Dey, S. State of energy prediction in renewable energy-driven mobile edge computing using CNN-LSTM networks. In Proceedings of the 2020 IEEE Green Energy and Smart Systems Conference (IGESSC), Long Beach, CA, USA, 2–3 November 2020; pp. 1–7. [Google Scholar]
- Tan, J.R.; Xu, D.M.; Guan, W.B. Resource Allocation in Fog Radio Access networks Based on Renewable Energy Cooperation. Telecommun. Eng. 2021, 61, 1331–1338. [Google Scholar]
- Zhao, F.; Chen, Y.; Zhang, Y.; Liu, Z.; Chen, X. Dynamic offloading and resource scheduling for mobile-edge computing with energy harvesting devices. IEEE Trans. Netw. Serv. Manag. 2021, 18, 2154–2165. [Google Scholar] [CrossRef]
- Li, N.; Hao, W.; Zhou, F.; Zeng, M.; Yang, S. Smart Grid Enabled Computation Offloading and Resource Allocation for SWIPT-Based MEC System. IEEE Trans. Circuits Syst. II Express Briefs 2022, 69, 3610–3614. [Google Scholar] [CrossRef]
- Heidari, A.; Navimipour, N.J.; Jamali, M.A.J.; Akbarpour, S. A green, secure, and deep intelligent method for dynamic IoT-edge-cloud offloading scenarios. Sustain. Comput. Inform. Syst. 2023, 38, 100859. [Google Scholar] [CrossRef]
- Guo, M.; Wang, W.; Huang, X.; Chen, Y.; Zhang, L.; Chen, L. Lyapunov-Based Partial Computation Offloading for Multiple Mobile Devices Enabled by Harvested Energy in MEC. IEEE Internet Things J. 2022, 9, 9025–9035. [Google Scholar] [CrossRef]
- He, T.; Chin, K.; Soh, S.; Yang, C.; Wen, J. On Maximizing Min Source Rate in Power Beacon Assisted IoTs Networks. IEEE Trans. Veh. Technol. 2020, 69, 11880–11892. [Google Scholar] [CrossRef]
- Ku, M.; Chen, Y.; Liu, K.R. Data-driven stochastic models and policies for energy harvesting sensor communications. IEEE J. Sel. Areas Comm. 2015, 33, 1505–1520. [Google Scholar] [CrossRef] [Green Version]
- Zhang, W.; Wen, Y.; Guan, K.; Kilper, D.; Luo, H.; Wu, D.O. Energy-optimal mobile cloud computing under stochastic wireless channel. IEEE Trans. Wirel. Commun. 2013, 12, 4569–4581. [Google Scholar] [CrossRef]
- Wang, Y.; Sheng, M.; Wang, X.; Wang, L.; Li, J. Mobile-edge computing: Partial computation offloading using dynamic voltage scaling. IEEE Trans. Commun. 2016, 64, 4268–4282. [Google Scholar] [CrossRef]
- Li, Y.; Sheng, M.; Shi, Y.; Ma, X.; Jiao, W. Energy Efficiency and Delay Tradeoff for Time-Varying and Interference-Free Wireless Networks. Wirel. Commun. IEEE Trans. 2014, 13, 5921–5931. [Google Scholar] [CrossRef]
- Li, Y.; Xia, S.; Zheng, M.; Cao, B.; Liu, Q. Lyapunov optimization-based trade-off policy for mobile cloud offloading in heterogeneous wireless networks. IEEE Trans. Cloud Comput. 2019, 10, 491–505. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gao, J.; Wu, R.; Hao, J. Lyapunov-Guided Energy Scheduling and Computation Offloading for Solar-Powered WSN. Appl. Sci. 2023, 13, 4966. https://doi.org/10.3390/app13084966
Gao J, Wu R, Hao J. Lyapunov-Guided Energy Scheduling and Computation Offloading for Solar-Powered WSN. Applied Sciences. 2023; 13(8):4966. https://doi.org/10.3390/app13084966
Chicago/Turabian StyleGao, Juan, Runze Wu, and Jianhong Hao. 2023. "Lyapunov-Guided Energy Scheduling and Computation Offloading for Solar-Powered WSN" Applied Sciences 13, no. 8: 4966. https://doi.org/10.3390/app13084966
APA StyleGao, J., Wu, R., & Hao, J. (2023). Lyapunov-Guided Energy Scheduling and Computation Offloading for Solar-Powered WSN. Applied Sciences, 13(8), 4966. https://doi.org/10.3390/app13084966