Implementing Control Algorithms Within a Multithreaded Java Microcontroller

  • Uwe Brinkschulte
  • Mathias Pacher
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3432)


Our aim is to investigate if it is possible to control the throughput (IPC rate) of a thread running on a multithreaded Java processor by a closed feedback loop. We implemented a Proportional/Integral/Differential (PID) controller in the processor simulator of the Komodo microcontroller developed at the universities of Karlsruhe and Augsburg to simulate the PID controller as an additional hardware module. It uses the GP (Guaranteed Percentage) scheduling to control the thread. Evaluations show that the aimed IPC rate of a thread is achieved by the controller thus improving the real-time capabilities of the Java processor.


Komodo microcontroller multithreaded Java microcontroller PID controller GP scheduling IPC rate 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Bahar, R., Albera, G., Manne, S.: Power and performance tradeoffs using various caching strategies. In: Proceedings of the 1998 ISLPED, ACM Press, New York (1998)Google Scholar
  2. 2.
    Brinkschulte, U., Ungerer, T.: Mikrocontroller und Mikroprozessoren. Springer, Heidelberg (2002), Google Scholar
  3. 3.
    Dorf, R., Bishop, R.: Modern Control Systems. Addison-Wesley, Reading (2000)Google Scholar
  4. 4.
    Kreuzinger, J.: Echtzeitfähige Ereignisbehandlung mit Hilfe eines mehrfädigen Java-Mikrocontrollers, Dissertation. Logos Verlag, Berlin (2001)Google Scholar
  5. 5.
    Gonzalez, R., Horowitz, M.: Energy dissipation in general purpose microprocessors. IEEE Journal of Solid-State Circuits 31 (1996)Google Scholar
  6. 6.
    Hughes, C., Srinivasan, J., Adve, S.: Saving energy with architectural and frequency adaptations for multimedia applications. In: Proceedings of the 34th MICRO (2001)Google Scholar
  7. 7.
    Kalla, R., Sinharoy, B., Tendler, J.M.: IBM Power5 Chip: A Dual-Core Multithreaded Processor. IEEE micro, 40–47 (March/April 2004)Google Scholar
  8. 8.
    Intel Corporation: Intel SpeedStepTM Technology (2002)Google Scholar
  9. 9.
    Lu, C., Stankovic, J.A., Tao, G., Son, S.H.: Design and Evaluation of a Feedback Control EDF Scheduling Algorithm. In: Real Time Systems Symposium (RTSS), Phoenix, USA (1999)Google Scholar
  10. 10.
    Lu, C., Stankovic, J.A., Abdelzaher, T.F., Tao, G., Son, S.H., Marley, M.: Performance Specifications and Metrics for Adaptive Real-Time Systems. In: Real Time Systems Symposium (RTSS), Orlando, USA (2000)Google Scholar
  11. 11.
    Lutz, H., Wendt, W.: Taschenbuch der Regelungstechnik, Verlag Harri Deutsch (2002)Google Scholar
  12. 12.
    McFarling, S.: Combining Branch Predictors, WRL Technical Note TN-36, Western Research Laboratory (1993)Google Scholar
  13. 13.
    Pacher, M.: Einsatz von Regelalgorithmen in mehrfädigen Prozessoren, Studienarbeit, University of Karlsruhe (2004)Google Scholar
  14. 14.
    Pfeffer, M.: Ein echtzeitfähiges Javasystem für einen mehrfädigen Java-Mikrocontroller, Dissertation. Logos Verlag, Berlin (2004)Google Scholar
  15. 15.
    Sasanka, R., Hughes, C.J., Adve, S.V.: Joint local and global hardware adapations for energy. In: Proceedings of the ASPLOS-X, ACM Press, New York (2002)Google Scholar
  16. 16.
    Pfeffer, M., Ungerer, T., Uhrig, S., Brinkschulte, U.: Connecting peripherial interfaces to a multithreaded java microcontroller. In: Workshop on java in embedded systems, ARCS 2002, Karlsruhe (April 2002)Google Scholar
  17. 17.
    Uhrig, S., Liemke, C., Pfeffer, M., Becker, J., Brinkschulte, U., Ungerer, T.: Implementing Real-time Scheduling Within a Multithreaded Java Microcontroller. In: 6th Workshop on Multithreaded Execution, Architecture, and Compilation MTEAC-6, Istanbul (November 2002); in conjunction with 35th International Symposium on Microarchitecture MICRO-35, Workshop proceedingsGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Uwe Brinkschulte
    • 1
  • Mathias Pacher
    • 1
  1. 1.Institute for Process Control, Automation and RoboticsUniversity of KarlsruheGermany

Personalised recommendations