Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397

Issue N1 2021 year

DOI: 10.17587/prin.12.3-7
Development of Protocol-Independent Modular Architecture for Three Axis Force Sensor Data Processing
P. A. Trunin, patrunin@mie.hse.ru, L. S. Prokhorenko, pro.leonid@gmail.com, D. S. Mishchenkov, dmish32@gmail.com, D. D. Klimov, daniil.klimov@gmail.com, MSTU STANKIN, Moscow, 127055, Russian Federation
Corresponding author: Prokhorenko Leonid S., Junior Researcher, MSTU "STANKIN", Moscow, 127055, Russian Federation E-mail: pro.leonid@gmail.com
Received on September 15, 2020
Accepted on October 22, 2020

The protocol-independent architecture for three axis force sensor data processing is considered. The force sensor is based on a MLX90393 triaxial magnetic sensor, capable of transmitting data via SPI protocol or I2C protocol, depending on the force sensor modification. The data generated by the MLX90393 requires additional processing before usage. To address this issue a software library is developed. Such a library shall provide means for protocol selection based on the force sensor modification. Three alternative architectural library implementations are consid­ered: the two independent program modules for both SPI and I2C protocol data transmission and processing, the two dependent program modules for SPI and I2C data transmission and one template-based module for the data processing, the two dependent program modules for SPI and I2C data transmission based on a single abstract class and the data processing module working with a pointer to the abstract class implementation. Three experimental library implementations are developed, nine experiments are performed with varying library usage setups, supplemented with one experiment with no data processing for the reference. Various criteria are considered, both quantitative and qualitative, including, but not limited to the compiled program size and the ease of library integration. The experimental results are analysed with the help of stated criteria, conclusions and practical recommendations are made.

Keywords: software architecture, software development, development practices, maintainable software, integrated systems
pp. 3–7
For citation:
Trunin P. A., Prokhorenko L. S., Mishchenkov D. S., Klimov D. D. Development of Protocol-Independent Modular Architecture for Three Axis Force Sensor Data Processing, Programmnaya Ingeneria, 2021, vol. 12, no. 1, pp. 3-7