期刊名称:International Journal of Software Engineering and Its Applications
印刷版ISSN:1738-9984
出版年度:2015
卷号:9
期号:5
页码:53-60
DOI:10.14257/ijseia.2015.9.5.06
出版社:SERSC
摘要:The predictability of system behavior based on interrupts, although commonly used in practice, is difficult to analyze because this behavior may vary depending on the order in which interrupts are detected by the system. Polling, however, consists of periodic tasks and an event polling mechanism. Despite the time delay for obtaining a time stamp of an event in polling, recent advances in microprocessors have led to the development of features that are capable of dealing with such challenges effectively. This paper describes an interrupt-less approach to control the servo motor of a pneumatic pump using a special purpose register to maintain the time stamp of a sensor event. The system can provide enhanced predictability even when all the sensor events are periodically polled. Empirical experiments revealed the proposed approach to be as accurate, when measured in terms of the external output of the system, as the interrupt-driven approach.
关键词:interrupt; polling; servo motor; pneumatic pump; time stamp