Experimental study of FreeRTOS operating system reactivity in power saving modes of the onboard computer microcontroller

Oleksandr Liubimov, Ihor Turkin

Abstract


An onboard computer is a specialized computer system integrated into a vehicle or, in general, another complex technical device that requires autonomous control and high reliability. The objective of this research is to investigate the reactivity of the FreeRTOS operating system in the energy-saving mode of an onboard computer microcontroller. The subject of this research are the methods, tools, and technologies used in the experimental study of the reactivity of the FreeRTOS operating system. The aim of this work is to develop a technology for conducting experimental studies on the reactivity and power consumption of computing platforms. Tasks: to analyze real-time systems and typical scheduling algorithms; to review existing methods for evaluating the performance and energy efficiency of microcontrollers of on-board computers; to plan an experiment to study the reactivity and energy consumption of the computing platform; based on the results of the experiment, to analyze the author's platform according to the specified criteria. Conclusions. This paper presents an experimental assessment of the reactivity and power consumption of the “Falco/Boryviter” computing platform developed by the authors. The proposed platform was implemented on the Cortex-M7 - ATSAMV71 microprocessor and runs on the open-source real-time operating system FreeRTOS. The experimental results confirmed that the developed microcontroller platform is effective and makes it possible to build control systems with predictable reactivity and acceptable energy costs. The proposed platform can be adapted for tasks with a rapidly changing computational context under the influence of external factors. The disadvantage of this work is the lack of verification of the developed technology through experimental studies for the Sleep, Wait, and Backup modes of the ATSAMV71 microprocessor.

Keywords


onboard computer; software; Boryviter/Falco; computational efficiency; overhead costs; energy efficiency; ATSAMV71; Cortex-M7; ARM; FreeRTOS

References


Liu C. L., & Layland, J. W. Scheduling Algorithms for Multiprogramming in Hard Real-Time Environment, Journal of the ACM, 1973, vol. 20, iss. 1, pp. 46-61. DOI: 10.1145/321738.321743.

Zhang, F., & Burns, A. Schedulability Analysis for Real-Time Systems with EDF Scheduling. IEEE Transactions on Computers, 2009, vol. 58, iss. 9, pp. 1250-1258. DOI: 10.1109/tc.2009.58.

Bernat, G., Burns, A., & Liamosi, A. Weakly hard real-time systems. IEEE Transactions on Computers, vol. 50, iss. 4, pp. 308-321. DOI: 10.1109/12.919277.

Kluge, F., Neuerburg, M., & Ungerer, T. Utility-Based Scheduling of (m, k)-Firm Real-Time Task Sets. In: Pinho, L., Karl, W., Cohen, A., Brinkschulte, U. (eds) Architecture of Computing Systems – ARCS 2015. Lecture Notes in Computer Science, Springer, Cham, 2015, vol. 9017, pp. 201-211. https://doi.org/10.1007/978-3-319-16086-3_16

Choi, H., Kim, H., & Zhu, Q. Job-Class-Level Fixed Priority Scheduling of Weakly-Hard Real-Time Systems. IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), Montreal, QC, Canada, 2019, pp. 241-253, DOI: 10.1109/rtas.2019.00028.

Shi, J., Ueter,N., Chen, J.-J., & Chen, K.-H. Average Task Execution Time Minimization under (m, k) Soft Error Constraint. IEEE 29th Real-Time and Embedded Technology and Applications Symposium (RTAS), San Antonio, TX, USA, 2023, pp. 1-13, DOI: 10.1109/RTAS58335.2023.00008.

Adam, G. K. Timing and Performance Metrics for TWR-K70F120M Device. Computers, 2023, vol. 12, iss. 8, article no. 163. DOI: 10.3390/computers12080163.

Liubimov, O., Turkin, I., Pavlikov, V., & Volobuyeva, L. Agile Software Development Lifecycle and Containerization Technology for CubeSat Command and Data Handling Module Implementation. Computation, 2023, vol. 11, no. 9, article no. 182. DOI: 10.3390/computation11090182.

Turkin, I., & Vdovitchenko, A. Energy-Efficient Scheduling for Portable Computers as Bi-Criteria Optimization Problem. In: Kharchenko, V., Kondratenko, Y., Kacprzyk, J. (eds). Green IT Engineering: Concepts, Models, Complex Systems Architectures. Studies in Systems, Decision and Control, Springer, Cham, 2017, vol. 74, pp. 87-100. DOI: 10.1007/978-3-319-44162-7_5.

Mittal, S. A survey of techniques for improving energy efficiency in embedded computing systems. International Journal of Computer Aided Engineering and Technology, 2014, vol. 6, iss. 4, pp. 440-459. DOI: 10.1504/IJCAET.2014.065419.

Chéour, R., Khriji, S., Götz, M., Abid, M., & Kanoun, O. Accurate dynamic voltage and frequency scaling measurement for low-power microcontrollers in wireless sensor networks. Microelectronics Journal, 2020, vol. 105, article no. 104874, DOI: 10.1016/j.mejo.2020.104874.

Reghenzani, F., Guo, Z., & Fornaciari, W. Software Fault Tolerance in Real-Time Systems: Identifying the Future Research Questions. ACM Computer Survey, 2023, vol. 55, iss. 14s, article no. 306, pp. 1-30. DOI: 10.1145/3589950.

Kim, B., & Yang, H. Reliability Optimization of Real-Time Satellite Embedded System Under Temperature Variations. IEEE Access, 2020, vol. 8, pp. 224549-224564. DOI: 10.1109/ACCESS.2020. 3044044.

Zidar, J., Matic, T., Aleksi, I., & Hocenski, Z. Dynamic Voltage and Frequency Scaling as a Method for Reducing Energy Consumption in Ultra-Low-Power Embedded Systems. Electronics, 2024, vol. 13, iss. 3, article no. 826. DOI: 10.3390/ electronics13050826.

Oliveira, G., & Lima, G. Scheduling and energy savings for small scale embedded FreeRTOS-based real-time systems. Design Automation for Embedded Systems, 2023, vol. 27, pp. 3-29. DOI: 10.1007/s10617-023-09267-7.

Musaddiq, A., Zikria, Y. B., Hahm, O., Yu, H., Bashir, A. K., & Kim, S. W. A Survey on Resource Management in IoT Operating Systems. IEEE Access, 2018, vol. 6, pp. 8459-8482. DOI: 10.1109/ACCESS.2018.2808324.

Low Power Support: Tickless Idle Mode. FreeRTOS. Available at: http://www.freertos.org/low-power-tickless-rtos.html (Accessed 1 August 2024).

Simonovic, M., & Saranovac, L. Power management implementation in FreeRTOS on LM3S3748. Serbian Journal of Electrical Engineering, 2013, vol. 10, iss. 1, pp. 199-208. DOI: 10.2298/SJEE1301199S.

Bambagini, M., Marinoni, M., Aydin, H., & Buttazzo, G. Energy-Aware Scheduling for Real-Time Systems. ACM Transactions on Embedded Computing Systems, 2016, vol. 15, iss. 1, article no. 7, pp. 1–34. DOI: 10.1145/2808231.

De Melo, A. C. C. P., Café, D. C., & Borges, R. A. Assessing Power Efficiency and Performance in Nanosatellite Onboard Computer for Control Applications. IEEE Journal on Miniaturization for Air and Space Systems, 2020, vol. 1, iss. 2, pp. 110-116. DOI: 10.1109/JMASS.2020.3009835.

Poovey, J., Conte, T., Levy, M., & Gal-On, S. A Benchmark Characterization of the EEMBC Benchmark Suite. IEEE Micro, 2009, vol. 29, iss. 5, pp. 18-29. DOI: 10.1109/MM.2009.74.

Iqbal, S., Liang, Y., & Grahn, H. ParMiBench - An Open-Source Benchmark for Embedded Multiprocessor Systems. IEEE Computer Architecture Letters, 2010, vol. 9, iss. 2, pp. 45-48. DOI: 10.1109/L-CA. 2010.14.

Zoni, D., Galimberti, A., & Fornaciari, W. A Survey on Run-time Power Monitors at the Edge. ACM Computing Surveys, 2023, vol. 55, iss. 13s, article no. 325, pp. 1-33. DOI: 10. 1145/3593044.

Kluge, F., Rochange, C., & Ungerer, T. EMSBench: Benchmark and Testbed for Reactive Real-Time Systems. Leibniz Transcription on Embedded Systems, 2017, vol. 4, iss. 2, pp. 02:1-02:23. DOI: 10.4230/LITES-v004-i002-a002.

Fayyad-Kazan, H., Perneel, L., & Timmerman, M. Benchmarking the Performance of Microsoft Hyper-V server, VMware ESXi and Xen Hypervisors. Journal of Emerging Trends in Computing and Information Sciences. 2013, vol. 4, iss. 12, pp: 922-933. Available at: https://www.academia.edu/48577184/Benchmarking_the_Performance_of_Microsoft_Hyper_V_server_VMware_ESXi_and_Xen_Hypervisors. (accessed 12 March 2024).

Storinka-prezentatsiya DKR avtoriv statti z ro-zrobky BO «Boryviter»/«Falco» [Page-presentation of the R&D work of the authors of the article on the devel-opment of the on-board computer “Boryviter”/“Falco”]. Available at: https://www.falco.engineering/. (Accessed 15 March 2024).

Atmel | SMART ARM-based Flash MCU. Available at: https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-44003-32-bit-Cortex-M7-Microcontroller-SAM-V71Q-SAM-V71N-SAM-V71J_Datasheet.pdf (Accessed 15 March 2024).




DOI: https://doi.org/10.32620/aktt.2024.4.09