实现一个使用设计模式的通用框架,用于微控制器上的应用程序开发.
Marek Babiuch1, Petr Foltynek1
1Department of Control Systems and Instrumentation, VSB-Technical University of Ostrava, 70800 Ostrava, Czech Republic.
Sensors (Basel, Switzerland)
|May 25, 2024
概括
本研究介绍了微控制器软件开发的模块化框架,应用SOLID原则和设计模式来增强嵌入式系统和物联网应用. 该框架提高了基于微控制器的项目代码质量,可测试性和可扩展性.
科学领域:
- 软件工程 软件工程 软件工程
- 嵌入式系统 嵌入式系统
- 物联网 (IoT) 的物联网 (IoT) 的物联网.
背景情况:
- 微控制器通常仅限于更高层物联网应用程序.
- 现有的微控制器开发实践缺乏现代软件设计原则.
- 对于嵌入式系统,需要适应性和可扩展性的软件解决方案.
研究的目的:
- 在微控制器软件开发中实施现代编程原则和设计模式.
- 为微控制器上的嵌入式系统提供一个定制的模块化框架.
- 提高微控制器应用的质量,可测试性和可扩展性.
主要方法:
- 将SOLID原则应用于微控制器软件设计.
- 适应微控制器应用开发的特定需求的设计模式.
- 开发了一个定制的模块化框架,允许独立的模块通信和灵活的硬件集成.
主要成果:
- 该框架促进了平台独立性,提高了适应性和易用性.
- 实现的应用程序在应用程序逻辑中是可测试和可扩展的.
- 该框架允许轻松适应硬件资源的变化.
结论:
- 提出的框架为微控制器开发提供了一种创新的方法.
- 这种方法显著提高了嵌入式应用程序的长期可持续性和可扩展性.
- 采用这些实践可以使微控制器上的物联网解决方案更加稳健和可维护.
相关概念视频
PI Controller: Design
249
Proportional Integral (PI) controllers are a fundamental component in modern control systems, widely used to enhance performance and mitigate steady-state errors. They are particularly effective in applications such as automatic brightness adjustment on smartphones, where they excel at mitigating steady-state errors for step-function inputs. Unlike PD controllers, which require time-varying errors to function optimally, PI controllers leverage their integral component to address residual...
249
PD Controller: Design
219
In automotive engineering, car suspension systems often employ Proportional Derivative (PD) controllers to enhance performance. PD controllers are utilized to adjust the damping force in response to road conditions. A controller, acting as an amplifier with a constant gain, demonstrates proportional control, with output directly mirroring input.
Designing a continuous-data controller requires selecting and linking components like adders and integrators, which are fundamental in Proportional,...
Designing a continuous-data controller requires selecting and linking components like adders and integrators, which are fundamental in Proportional,...
219
Control Systems: Applications
602
Electrical engineering plays a pivotal role in our daily lives, with control systems at the heart of many applications, from home appliances to sophisticated space shuttles. Control systems manage and regulate the behavior of devices and processes, ensuring they function safely, correctly, and efficiently.
In modern vehicles, control systems manage various functions to enhance performance and safety. The steering wheel and accelerator are primary inputs in a car's control system. The...
In modern vehicles, control systems manage various functions to enhance performance and safety. The steering wheel and accelerator are primary inputs in a car's control system. The...
602
Design Consideration
185
Designing a structure involves a series of considerations, primarily the material's ultimate strength, calculated through tests that measure changes under increased force until the material reaches its breaking point or limit. The ultimate load, where the material breaks, is divided by its original cross-sectional area, resulting in the ultimate normal stress or strength. The ultimate shearing stress is another significant factor taken into account.
The factor of safety is another key...
The factor of safety is another key...
185
Design Example: Automobile Ignition System
228
The automobile's ignition system plays a vital role by ensuring the timely ignition of the fuel-air mixture in each cylinder. This ignition is facilitated by a spark plug, which is composed of two electrodes separated by an air gap. A spark forms across this air gap when a substantial voltage is generated between the electrodes, leading to the ignition of the fuel.
One can generate a large voltage using a car battery of 12 volts with the help of inductors. Inductors are known for opposing...
One can generate a large voltage using a car battery of 12 volts with the help of inductors. Inductors are known for opposing...
228
Design Example
325
The innovation of touch-tone telephony revolutionized the telecommunications industry by replacing the traditional rotary dial with a dual-tone multi-frequency (DTMF) signaling system. This system uses a matrix-style keypad with buttons arranged in four rows and three columns, creating 12 distinct signals each assigned to a pair of frequencies. Each button press results in a simultaneous generation of two sinusoidal tones – one from a low-frequency group (697 to 941 Hz) and one from a...
325


