Portando uma aplicação de sistema embarcado com arquitetura super Loop para operar com sistema operacional em tempo real
PDF

Como Citar

Frigieri, E. P., D’Angelo, V. I., Ramos, R. F. de M., Junior, L. C. de A., & Teixeira, P. S. F. L. (2014). Portando uma aplicação de sistema embarcado com arquitetura super Loop para operar com sistema operacional em tempo real. ForScience, 2(1), 47-67. https://doi.org/10.29069/forscience.2014v2n1.e54

Resumo

Atualmente, a utilização dos sistemas operacionais, principalmente os sistemas de tempo real (RTOS), tem sido de grande importância no desenvolvimento de sistemas embarcados. Cada vez mais, diferentes e variadas funcionalidades são requisitos dos projetos de sistemas embarcados, como interfaces de comunicação com e sem fio, interfaces com o usuário através de displays, interfaces de acesso de dado como USB, serial, etc. Com o aumento da complexidade, fica extremamente difícil construir um sistema que seja estável e que atenda aos requisitos de tempo a partir de estruturas de programas comuns como o Super Loop. A fim de demonstrar os problemas inerentes deste tipo de arquitetura, foi desenvolvida uma aplicação utilizando o Super Loop e a mesma foi portada para uma solução baseada em RTOS demonstrando os principais conceitos que envolvem um sistema operacional, como utilizá-lo, e os benefícios obtidos com a sua utilização, como estabilidade do sistema, sincronização entre tarefas e cumprimento dos requisitos de tempo. 

Palavras-chave: Sistemas operacionais de tempo real. Sistemas embarcados. Escalonamento.

Porting an embedded system application with super loop architecture to operate with real-time operating system

Currently, the use of operating systems, especially real-time systems (RTOS), has been of great importance in the development of embedded systems. Increasingly, different and varied features are requirements for embedded system projects, as wired and wireless communication interfaces; user interfaces through displays; data access interfaces such as USB, serial, etc. With the increase in complexity, it becomes extremely difficult to build a system that is stable and that meets the time requirements from common program structures like Super Loop. In order to demonstrate the inherent problems of this type of architecture, an application was developed using Super Loop and it was ported to a solution based on RTOS, demonstrating the key concepts involving an operating system, how to use it and the benefits gained from its use as system stability, synchronization between tasks and fulfillment of time requirements.

Keywords: Real-time operating systems. Embedded systems. Scheduler. 

 

https://doi.org/10.29069/forscience.2014v2n1.e54
PDF

Referências

ANH, T. N. B.; TAN, Su-Lim. Survey and performance evaluation of real-time operating systems (RTOS) for small microcontrollers. Micro, IEEE, v. pp, n. 99, p. 1, 2009. Disponível em: <http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber= 5210078&queryText=Survey+and+performance+evaluation+of+real-time++operating+ systems+.LB.RTOS.RB.+for+small+microcontrollers>. Acesso em: 28 maio 2013.

BARRY, R. Using the FreeRTOS Real Time Kernel: a practical guide. 1. ed. [S.l: s.n.], 2010. p. 195.

DOLINAY, J.; VAŠEK, V.; DOSTÁLEK, P. Utilization of Simple Real-time Operating system on 8-bit microcontroller. International Journal of Mathematical Models and methods in Applied Sciences, v. 5, n. 4, p. 789-796, 2011.

HASAN, Al M.; AHMAD, S. Development of a Highly Optimized Preemptive Real Time Operating System ( PRTOS ). In: INTERNATIONAL CONFERENCE ON, 11., 2008, Khulna. Anais... Khulna: IEEE, 2008. p. 25-27.

LAPLANTE, P. A.; OVASKA, S. J. Real-Time systems design and analysis: tools for the practitioner. 4. ed. [S.l.]: Wiley-IEEE Press, 2011. p. 584.

MARWEDEL, P. Embedded systems foundations of cyber-physical systems. 2. ed. [S.l.]: Springer, 2011. p. 350.

MEDIA. State of embedded market survey. Embedded System Design Magazine, 2013.

MOHAMADI, T. Real Time Operating System for AVR Microcontrollers. In: DESIGN & TEST SYMPOSIUM (EWDTS) EAST-WEST, 9., 2011, Sevastopol. Anais... Sevastopol: IEEE, set. 2011. p. 376-380. Disponível em: <http://ieeexplore.ieee.org/lpdocs/ epic03/wrapper.htm?arnumber=6116595>. Acesso em: 29 maio 2013.

NAHAS, M. Implementation of highly-predictable time- triggered cooperative scheduler using simple super loop architecture. International Journal of Electrical & Computer Sciences, v. 11, p. 33-38, 2011.

SHEN, J. et al. Research of the Real-Time Performance of Operating System. In: WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING (WiCom) INTERNATIONAL CONFERENCE ON, 5., 2009, Beijing. Anais... Beijing: IEEE, set. 2009. p. 1-4. Disponível em: <http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber =5301855>. Acesso em: 29 maio 2013.

SILBERSCHATZ, A.; GALVIN, P. B.; GAGNE, G. Operating System Concepts. 9. ed. [S.l.]: John Wiley & Sons, 2012. p. 944.