Power-Aware Task Scheduling using a MATLAB/Simulink Simulation Process
Keywords:
DVFS, EDF, Energy efficiency, MATLAB Simulink, Power management, Rate monotonic, Real-time systems, Systems, Task schedulingAbstract
Battery life is a concern in modern devices. Many devices, like smartwatches, IoT sensors, medical monitors, and industrial controllers, run on batteries. When the battery runs out, the device stops working. This paper examines how task scheduling affects power consumption. Two scheduling methods, Rate Monotonic (RM) and Earliest Deadline First (EDF), are studied. A method called Power-Aware EDF (PA-EDF) is also proposed. PA-EDF reduces processor speed when slack time is available. RM, EDF, and PA-EDF were tested using MATLAB/Simulink. This gave a picture of the system and measurable energy results. The Simulink model has three tasks. It also has a power model and an energy tracker. The results show that PA-EDF saves a lot of energy compared to EDF and more compared to RM. PA-EDF makes sure every task finishes on time. The proposed approach was evaluated through simulations developed in MATLAB/Simulink using a model that included multiple tasks, a processor power model, and an energy measurement mechanism. The performance of the scheduling methods was analyzed in terms of energy consumption and the ability to meet task deadlines. The results indicate that PA-EDF reduces power usage more effectively than both RM and standard EDF while maintaining reliable task execution without missing deadlines. The main contribution of the work is the integration of power-saving mechanisms into an existing scheduling method to improve battery efficiency in real-time systems.
References
H. Aydin, R. Melhem, D. Mosse, and P. Mejia-Alvarez, “Power-aware scheduling for periodic real-time tasks,” IEEE Transactions on Computers, vol. 53, no. 5, pp. 584–600, May 2004.
S. K. Panda, M. Lin and T. Zhou, “Energy-efficient computation offloading with DVFS using deep reinforcement learning for time-critical IoT applications in edge computing,” in IEEE Internet of Things Journal, vol. 10, no. 8, pp. 6611-6621, Apr. 2023.
C. L. Liu and J. W. Layland, “Scheduling algorithms for multiprogramming in a hard-real-time environment,” Journal of the ACM, vol. 20, no. 1, pp. 46–61, Jan. 1973.
G. C. Buttazzo, “Resource access protocols,” in Hard Real-Time Computing Systems, Boston, MA: Springer US, 1997, pp. 181–223.
M. Perumal and S. Dhandapani, “Modeling and simulation of a novel relay node based secure routing protocol using multiple mobile sink for wireless sensor networks,” The Scientific World Journal, vol. 2015, no. 1, Oct. 2015.
I. Banerjee and P. Madhumathy, “IoT based agricultural business model for estimating crop health management to reduce farmer distress using SVM and machine learning,” in Internet of Things and Analytics for Agriculture, Volume 3, P. K. Pattnaik, R. Kumar, and S. Pal, Eds., Springer International Publishing, 2021, pp. 165–183.
S. B. Prasad and P. Madhumathy, “Long term evolution for secured smart railway communications using Internet of Things,” in Machine Learning Algorithms for Industrial Applications, S. K. Das, S. P. Das, N. Dey, and A.-E. Hassanien, Eds., Springer Nature, 2021, pp. 285–300.
N. Kavitha, P. Madhumathy, R. M. Prasad, and D. N. Chandrappa, “Machine learning technique for breast cancer detection and classification,” Machine Learning for Computational Science and Engineering, vol. 1, Apr. 2025.
M. R. Suma and P. Madhumathy, “An optimal swift key generation and distribution for QKD,” Scientific and technical journal of information technologies mechanics and optics, vol. 22, no. 1, pp. 101–113, Feb. 2022.
P. Pillai and K. G. Shin, “Real-time dynamic voltage scaling for low-power embedded operating systems,” Proceedings of the eighteenth ACM symposium on Operating systems principles, Oct. 2001, pp. 89–102.
L. Benini, A. Bogliolo, and G. De Micheli, “A survey of design techniques for system-level dynamic power management,” IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 8, no. 3, pp. 299–316, Jun. 2000.
Z. Peng and G. Wang, “An optimal energy-saving real-time task-scheduling algorithm for mobile terminals,” International Journal of Distributed Sensor Networks, vol. 13, no. 5, pp. 1–12, May 2017.
I. Gharbi, H. Gharsellaoui, and S. Bouamama, “Energy-aware real-time scheduling of sporadic tasks using a hybrid genetic algorithm with EDF and DVFS,” Engineering, Technology and Applied Science Research, vol. 15, no. 1, pp. 28144–28149, Oct. 2025.
X. Mei, Q. Wang, X. Chu, H. Liu, Y.-W. Leung, and Z. Li, “Energy-aware task scheduling with deadline constraint in DVFS-enabled heterogeneous clusters,” arXiv, Apr. 2021.
S. Sheng, P. Chen, Z. Chen, L. Wu, and Y. Yao, “Deep reinforcement learning-based task scheduling in IoT edge computing,” Sensors, vol. 21, no. 5, Feb. 2021.