Implementing and Measuring the Performance of PB, RR and PBRR Scheduling Algorithms on ATMega32A using FreeRTOS

Faculty Engineering Year: 2023
Type of Publication: ZU Hosted Pages:
Authors:
Journal: The 5th Novel Intelligent and Leading Emerging Sciences Conference (NILES) IEEE Volume:
Keywords : Implementing , Measuring , Performance , , , , PBRR Scheduling Algorithms    
Abstract:
This research paper discusses the Real Time Operating Systems; their types, software, benefits, and drawbacks, as well as how they work, including task states and control blocks. This research goes into great detail to explain many scheduling algorithms, including Round Robin, Priority Based, Earliest Deadline First, First Come First Serve, and Non-preemptive Deadline First. It also covers the performance monitoring tools and the parameters to be monitored while measuring the performance. The problem that we shed light on is the increment of death and incidents of Liquified Petroleum Gas (LPG) burns. In 2018, The researchers found that almost 81.03% of the total burns’ percentage were related to gas leaks and 2% to negligence in the kitchen. To solve this problem, we made an application using FreeRTOS. We used different scheduling algorithms such as PB and RR. Furthermore, we utilized three different time slicing intervals: (0.1 sec, 10m sec, 100µ sec) . Our application was implemented on ATMega32A with internal frequency 1 MHz. The application includes two sensors and an LCD. Additionally, We added a DC motor that functions as a ventilating fan, allowing us to take appropriate actions based on the sensor readings. The results show that the best scheduling algorithm with respect to time execution was PBRR with time = 0.0656 secs, while the worst was without RTOS taking 4.581 secs. However, the memory consumption of the application without RTOS was RAM of 8%, and ROM of 18.7%, while the PBRR memory consumption was RAM of 89.9%, ROM of 31.5%. Also, We simulated the execution of the tasks using SimSo for PB scheduling algorithm.
   
     
 
       

Author Related Publications

  • Amro Ahmed Ismail Morsy , "Improved Low Energy Adaptive Clustering Hierarchy in Wireless Sensor Network Routing Protocols", International Journal of Engineering and Technology, 2018 More
  • Amro Ahmed Ismail Morsy , "An Efficient Convolutional Neural Network Classification Model for Several Sign Language Alphabets", (The Science and Information Organization (SAI, 2023 More
  • Amro Ahmed Ismail Morsy , "Elliptic tube free convection augmentation: An experimental and ANN numerical approach", ELSEVIER, 2019 More
  • Amro Ahmed Ismail Morsy , "Enhancing connectivity and coverage in wireless sensor networks: a hybrid comprehensive learning-Fick’s algorithm with particle swarm optimization for router node placement", Springer, 2025 More
  • Amro Ahmed Ismail Morsy , "Image processing and neural network technique for size characterization of gravel particles", Nature Publishing Group, 2024 More

Department Related Publications

  • Mira Magdy Sobhy Suliman, "COMPARISON BETWEEN HAAR WAVELET TRANSFORM, DCT AND A PROPOSED COLUMN-MEAN-METHOD BASED IRIS ENCODERS", جامعة الزقازيق-المجلة العلمية, 2014 More
  • Ahmed Mohamed Helmy Elsadiek, "Efficient and Sustainable Reconfiguration of Distribution Networks via Metaheuristic Optimization", IEEE, 2022 More
  • Sarah Khalil Mohamed Ibrahim, "Study of Climate Change Detection in North-East Africa Using Machine Learning and Satellite Data", IEEE, 2021 More
  • Ibrahiem Elsayed Mohamed Zedan, "Improved subspace identication with prior information using constrained least-squares", IET, 2011 More
  • Ahmed Mahmoud Abdelrahman Elanany, "Improved subspace identication with prior information using constrained least-squares", IET, 2011 More
Tweet