Abstract
Embedded microcontrollers are often programmed in plain C and lack support for multithreading and real-time scheduling. This can make it very cumbersome to implement multirate feedback control applications. We have developed the TinyRealTime kernel for the Atmel ATmega8L AVR to show that it is feasible to use high-precision, deadline-based scheduling even in a tiny 8-bit processor with 1 KB of RAM. The kernel is demonstrated in a multirate control application, where six periodic real-time tasks (four control tasks and two pulse width modulation tasks) are used to control two ball-and-beam processes.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Henriksson, D., Cervin, A.: TinyRealTime–An EDF Kernel for the Atmel ATmega8L AVR. Technical report ISRN LUTFD2/TFRT–7608–SE, Department of Automatic Control, Lund Institute of Technology, Sweden (2004)
Atmel: AVR 8-Bit RISC (2004), http://www.atmel.com/products/AVR
Baker, T.P.: Stack-Based Scheduling of Real-Time Processes. Journal of Real-time Systems 3, 67–99 (1991)
Evidence: ERIKA Enterprise (2004), http://www.evidence.eu.com/Erika.asp
Gai, P., Lipari, G., Di Natale, M.: A Flexible and Configurable Real-Time Kernel for Time Predictability and Minimal RAM Requirements. Technical report RETIS TR 2001-02, ReTiS Lab, Scuola Superiore S. Anna, Pisa, Italy (2001)
Carlini, A., Buttazzo, G.C.: An Efficient Time Representation for Real-Time Embedded Systems. In: Proceedings of the 2003 ACM Symposium on Applied Computing, Melbourne, Florida, pp. 705–712. ACM, New York (2003)
Sha, L., Rajkumar, R., Lehoczy, J.P.: Priority Inheritance Protocols: An Approach to Real-Time Synchronization. IEEE Transactions on Computers 39, 1175–1185 (1990)
Abeni, L., Buttazzo, G.: Integrating Multimedia Applications in Hard Real-Time Systems. In: Proc. 19th IEEE Real-Time Systems Symp., Madrid, Spain, pp. 4–13. IEEE Computer, Los Alamitos (1998)
Cervin, A., Eker, J.: Control-Scheduling Codesign of Real-Time Systems: The Control Server Approach. Journal of Embedded Computing (2004) (to appear)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Henriksson, D., Cervin, A. (2004). Multirate Feedback Control Using the TinyRealTime Kernel. In: Aykanat, C., Dayar, T., Körpeoğlu, İ. (eds) Computer and Information Sciences - ISCIS 2004. ISCIS 2004. Lecture Notes in Computer Science, vol 3280. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30182-0_86
Download citation
DOI: https://doi.org/10.1007/978-3-540-30182-0_86
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-23526-2
Online ISBN: 978-3-540-30182-0
eBook Packages: Springer Book Archive