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

How to Cite

Portando uma aplicação de sistema embarcado com arquitetura super Loop para operar com sistema operacional em tempo real. (2014). ForScience, 2(1), 47-67. https://doi.org/10.29069/forscience.2014v2n1.e54

Abstract

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. 

 

PDF (Portuguese (Brazil))

References

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.

Authors who post on ForScience agree to the following terms:

- The said work is of own authorship and has never been published or sent to another magazine, this magazine having the right of exclusivity on the edition and publication, under the license Creative Commons Attribution License 3.0 (CC-BY-NC) which allows anyone to share to adapt the work according to the following terms:

  • Atribuição — You must give the appropriate credit, provide a link to the license and indicate if the changes have been made. You must do so in any reasonable circumstance, but in no way do you suggest to the licensor to support you or your use.

  • Non-Commercial — You may not use the material for commercial purposes.

- All coauthors are aware of and agree to the submission of the work in the evaluation process in ForScience Magazine.
 
- Authorizes publishers to make the necessary adjustments in the form of
but preserving the content.

- If plagiarism has been proven in any published work, this Journal is free of any responsibility, and its author (s) shall bear the penalties provided by law.

- Authors are authorized to take additional contracts separately, for non-exclusive distribution of the version of the work published in this journal (eg, publish in institutional repository or as a book chapter), with acknowledgment of authorship and initial publication in this journal.

- Authors are allowed and encouraged to publish and distribute their work online (eg in institutional repositories or on their personal page), as this can generate productive changes, as well as increase the impact and citation of the published work. However, it should be noted that once approved by the evaluators, the manuscript can not be changed. If the author wishes to do so, he should restart the submission process.