Encoding and decoding controller area network frames using the CAN database

Date

2023-02-28

Journal Title

Journal ISSN

Volume Title

Publisher

Видавництво Львівської політехніки
Lviv Politechnic Publishing House

Abstract

The article examines the features of building a Controller Area Network (CAN) in the automotive industry. The main steps for encoding and decoding physical values in CAN and CAN FD (CAN with flexible data rate) frames are provided. The syntax of messages and signals in CAN DBC has been analyzed. An example of a DBC file that can be used to encode and decode the speed and engine speed of a truck is reviewed. Based on the Linux operating system and the python programming language, an experimental scheme of a virtual controller area network was created, which encodes data on one node and decodes data on the other using CAN DBC.

Description

Keywords

Controller area network, Frames encoding, Frames decoding, Virtual network

Citation

Encoding and decoding controller area network frames using the CAN database / Oleg Ivaniuk, Halyna Vlakh-Vyhrynovska, Roman Modla, Nazar Kulyk // Measuring Equipment and Metrology. — Lviv : Lviv Politechnic Publishing House, 2023. — Vol 84. — No 1. — P. 61–66.

Endorsement

Review

Supplemented By

Referenced By