Development of typical 'state' software patterns for CortexM microcontrollers in real time
Autor: | Pavlo Katin, Viacheslav Chmelov, Vladimir Shemaev |
---|---|
Jazyk: | angličtina |
Rok vydání: | 2020 |
Předmět: |
Source code
Computer science Interface (computing) media_common.quotation_subject finite state machine Energy Engineering and Power Technology master controller Industrial and Manufacturing Engineering Software Management of Technology and Innovation lcsh:Technology (General) lcsh:Industry Electrical and Electronic Engineering Real-time operating system media_common Finite-state machine real time business.industry Applied Mathematics Mechanical Engineering Software maintenance Computer Science Applications cortex-m microcontroller Microcontroller State pattern Control and Systems Engineering Embedded system state design pattern lcsh:T1-995 lcsh:HD2321-4730.9 business |
Zdroj: | Eastern-European Journal of Enterprise Technologies, Vol 3, Iss 9 (105), Pp 29-38 (2020) |
ISSN: | 1729-4061 1729-3774 |
Popis: | There are real-time technical systems that require high speed of software solutions. At the same time, it is necessary to ensure the unification of the source code, the quality of software maintenance, and mathematical modeling at a relatively low cost of software and hardware solution. Such hardware can be implemented on the basis of mass microcontrollers of the Cortex-M architecture. The software part of these microcontrollers data could be implemented on the basis of a real-time operating system (RTOS). This study has found that the application of RTOS leads to a speed-related constraint. Simple software solutions are complex at unification, support, and have difficulties with mathematical modeling. To address these shortcomings, typical State software patterns have been developed for an auxiliary controller within a circuit of controlling mechanisms or sensors based on theCortex-M architecturemicrocontroller in real time, in a procedural paradigm. A feature of these patterns is the higher speed of the software solution compared to the solutions based on RTOS. The developed patterns make it possible to unify the source code for theCortex-M architecturemicrocontrollers from different manufacturers, improve maintenance, and adapt it to the mathematical model of the finite state machine. The study results were tested using the STM32F103 microcontroller employing the Cortex microcontroller software interface system (CMSIS) library. This allows the result obtained to be extended to MCs made by other manufacturers, which ensures the practical value of the developed patterns |
Databáze: | OpenAIRE |
Externí odkaz: |