Journal: |
The 5th Novel Intelligent and Leading Emerging Sciences Conference (NILES)
IEEE
|
Volume: |
|
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.
|
|
|