Design and Verification of a Hardware-Software Platform for CAN Network Error Detection and Visualization
DOI:
https://doi.org/10.15407/fmmit2026.42.119Keywords:
шина CAN, ідентифікація помилок, циклічний надлишковий код (CRC), ін'єкція помилок, кросплатформенна розробка, реальний час (real-time), мобільний моніторинг, аналіз мережевого трафіку, архітектура ПЗ, обробка потокових даних, фрейм.Abstract
This paper presents the development of a software environment for simulation, detection, and visualization of errors in Controller Area Network (CAN) systems based on the Flutter framework. Theproposedapproachintroducesanextendedobject-orienteddatamodelwithembeddedGroundTruthlabels, anabling controlled injection offiveanomaly types combinedwithautomatedcalculationofdetectionaccuracy metrics. Thedevelopedsystemimplementsfivefaultinjectionscenarios: bit-levelmutations, bursterrors, staticpatterninjection, byteorderviolations, and CRC faults. To evaluate detection algorithm performance, a Confusion Matrix is computed in real time, providing Precision, Recall, and F1-Score metrics. Local data persistence is implemented using SQLite, while the system architecture follows a strict separation between processing logic and the user interface, leveraging Dart's asynchronous mechanisms. Practical testing on a dataset of 65 frames confirmed the system's operability and identified directions for further improvement of detection algorithms. Thedevelopedtoolsetcanserveas a benchmarkingplatformfornovelintrusiondetectionmethodsincybersecuritysystemsofmodernautomotivesystems.
References
ISO 11898-1:2024. Road vehicles – Controller area network (CAN) – Part 1: Data link layer and physical coding sublayer. – International Organization for Standardization, 2024. – 86 p.
Corrigan S. Introduction to the Controller Area Network (CAN) / S. Corrigan. – Texas Instruments, 2016. – 17 p.
Cena G. A Review on the Evolution of CAN-Based Automotive and Industrial Networks / G. Cena, A. Valenzano. – IEEE Transactions on Industrial Informatics, 2020. – 12 p.
Farsi M. CANopen Implementation: Applications to Industrial Networks / M. Farsi, K. Ratcliff, M. Barbosa. – Research Studies Press, 2019. – 256 p.
SocketCAN – The Linux CAN Subsystem / Volkswagen Research. – 2022. [Електронний ресурс]. Режим доступу: https://www.kernel.org/doc/html/latest/networking/can.html
python-can documentation / python-can contributors. – 2023. [Електронний ресурс]. Режим доступу: https://python-can.readthedocs.io/en/stable/
Flutter documentation. Architecture overview / Google. – 2024. [Електронний ресурс]. Режим доступу: https://docs.flutter.dev/resources/architectural-overview
Dart language documentation / Google. – 2024. [Електронний ресурс]. Режим доступу: https://dart.dev/guides
SQLite Documentation / SQLite Development Team. – 2023. [Електронний ресурс]. Режим доступу: https://www.sqlite.org/docs.html
Bozdal M. Evaluation of CAN Bus Security Challenges / M. Bozdal, M. Samie, S. Aslam, I. Jennions. – Sensors. – MDPI, 2020. – 19 p.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Павло Дзелендзяк, Ростислав Наконечний (Автор)

This work is licensed under a Creative Commons Attribution 4.0 International License.