COMPARATIVE STUDY OF RTOS AND PRIMITIVE INTERRUPT IN EMBEDDED SYSTEM
Abstract: Multitasking is one
of the most challenging issues in the automation industry which is highly
depended on the embedded system. There are two methods to perform multitasking
in embedded system: RTOS and primitive interrupt. The main purpose of this research
is to compare the performance of RĂ‚¬TOS with primitive method while
concurrently undertaking multiple tasks. The system, which is able to perform
various tasks, has been built to evaluate the performance of both methods.
There are four tasks introduced in the system: servo task, sensor task, LED
task, and LCD task. The performance of each method is indicated by the success
rate of the sensor task detection. Sensor task detection will be compared with
the true value which is calculated and measured manually during observation
time. Observation time was varied after several iterations and the data of the
iteration are recorded for both RTOS and primitive interrupt methods. The
results of the conducted experiments have shown that, RTOS is more accurate than
interrupt method. However, the data variance of the primitive interrupt method
is narrower than RTOS. Therefore, to choose a better method, an optimization is
needed to be done and each product has its own standard.
Author: Dwi Purnomo, Machmud R
Alhamidi, Grafika Jati, Novian Habibie, Benny Hardjono, Ari Wibisono
Journal Code: jptkomputergg150006