Encoding and decoding controller area network frames using the CAN database

dc.citation.epage66
dc.citation.issue1
dc.citation.journalTitleВимірювальна техніка та метрологія
dc.citation.spage61
dc.contributor.affiliationLviv Polytechnic National University
dc.contributor.authorIvaniuk, Oleg
dc.contributor.authorVlakh-Vyhrynovska, Halyna
dc.contributor.authorModla, Roman
dc.contributor.authorKulyk, Nazar
dc.coverage.placenameЛьвів
dc.coverage.placenameLviv
dc.date.accessioned2024-03-11T08:26:30Z
dc.date.available2024-03-11T08:26:30Z
dc.date.created2023-02-28
dc.date.issued2023-02-28
dc.description.abstractThe 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.
dc.format.extent61-66
dc.format.pages6
dc.identifier.citationEncoding 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.
dc.identifier.citationenEncoding 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.
dc.identifier.doidoi.org/10.23939/istcmtm2023.01.061
dc.identifier.urihttps://ena.lpnu.ua/handle/ntb/61413
dc.language.isoen
dc.publisherВидавництво Львівської політехніки
dc.publisherLviv Politechnic Publishing House
dc.relation.ispartofВимірювальна техніка та метрологія, 1 (84), 2023
dc.relation.ispartofMeasuring Equipment and Metrology, 1 (84), 2023
dc.relation.references[1] L. Görne, H. Reuss, A. Krätschmer, R. Sauerwald. “Smart data preprocessing method for remote vehicle diagnostics to increase data compression efficiency”. Automotive and Engine Technology, No. 7, 2022, pp. 307–316. DOI: https://doi.org/10.1007/s41104-022-00113-9
dc.relation.references[2] M. Di Natale, H. Zeng, P. Giusto, A. Ghosal, Understanding and Using the Controller Area Network Communication Protocol. New York: Springer, 2012 [Online]. Available: https://books.google.com.py/books?id=rO-EfaSZbMAC&printsec=copyright#v=onepage&q&f=false
dc.relation.references[3] A. Ziebinski, R. Cupek, M. Drewniak. “Ethernet-based test stand for a CAN network“.AIP Conf. Proc. 2017, 1906, 120005. DOI: https://doi.org/10.1063/1.5012397
dc.relation.references[4] A Mutter. “CAN XL error detection capabilities”. CAN Newsletter, No. 2, 2020, pp. 4–12. https://copperhilltech.com/content/CiA%20CAN%20Newsletter%20-%20CAN%20XL%20error%20detection%20capabilities.pdf
dc.relation.references[5] Magnus Hell. The physical layer in the CAN XL world, iCC 2021 (international CAN conference). DOI: 10. 13140/RG.2.2.23239.01448
dc.relation.references[6] Basics of the CAN Protocol, 2022 [Online]. Available: https://www.keyence.com/ss/products/daq/lab/candata/protocol.jsp
dc.relation.references[7] International standard ISO 11898-1. Road vehicles – Controller area network (CAN). Part 1: Data link layer and physical signaling, 2022 [Online]. Available: https://www.sis.se/api/document/preview/919965/
dc.relation.references[8] International standard ISO 11898-2. Road vehicles – Controller area network (CAN). Part 2: High-speed medium access unit, 2022 [Online]. Available: https://www.sis.se/api/document/preview/921358/
dc.relation.references[9] H. Zeltwanger, “CAN FD Network Design Hints and Recommendations”, SAE Int. J. Passeng. Cars – Electron. Electr. Syst. 9(1):89–92. 2016, DOI: https://doi.org/10.4271/2016-01-0060.
dc.relation.references[10] Introduction to the Local Interconnect Network (LIN) Bus, 2022 [Online]. Available: https://www.ni.com/enus/innovations/white-papers/09/introduction-to-thelocal-interconnect-network--lin--bus.html
dc.relation.references[11] Automotive Ethernet: The Future of In-Vehicle Networking, 2022 [Online]. Available: https://blogs.keysight.com/blogs/tech/sim-des.entry.html/2021/06/10/automotive_ethernet-E6FB.html
dc.relation.references[12] DBC Introduction, Open Vehicles, 2020 [Online]. Available: https://docs.openvehicles.com
dc.relation.references[13] W. Vass, A Comprehensible Guide to J1939. Copperhill Technologies Corporation, 2008.
dc.relation.references[14] Understanding CAN DBC, Influx Technology, 2021 [Online]. Available: https://www.influxtechnology.com/post/understanding-can-dbc
dc.relation.references[15] An Introduction to J1939 and DBC files, Bryan Hennessy, 2019 [Online]. Available: https://www.kvaser.com/developer-blog/an-introduction-j1939-anddbc-files/
dc.relation.references[16] Python-can library documentation, 2022 [Online]. Available: https://python-can.readthedocs.io/en/master/
dc.relation.references[17] Wireshark network protocol analyzer, 2022 [Online]. Available: https://www.wireshark.org/
dc.relation.referencesen[1] L. Görne, H. Reuss, A. Krätschmer, R. Sauerwald. "Smart data preprocessing method for remote vehicle diagnostics to increase data compression efficiency". Automotive and Engine Technology, No. 7, 2022, pp. 307–316. DOI: https://doi.org/10.1007/s41104-022-00113-9
dc.relation.referencesen[2] M. Di Natale, H. Zeng, P. Giusto, A. Ghosal, Understanding and Using the Controller Area Network Communication Protocol. New York: Springer, 2012 [Online]. Available: https://books.google.com.py/books?id=rO-EfaSZbMAC&printsec=copyright#v=onepage&q&f=false
dc.relation.referencesen[3] A. Ziebinski, R. Cupek, M. Drewniak. "Ethernet-based test stand for a CAN network".AIP Conf. Proc. 2017, 1906, 120005. DOI: https://doi.org/10.1063/1.5012397
dc.relation.referencesen[4] A Mutter. "CAN XL error detection capabilities". CAN Newsletter, No. 2, 2020, pp. 4–12. https://copperhilltech.com/content/CiA%20CAN%20Newsletter%20-%20CAN%20XL%20error%20detection%20capabilities.pdf
dc.relation.referencesen[5] Magnus Hell. The physical layer in the CAN XL world, iCC 2021 (international CAN conference). DOI: 10. 13140/RG.2.2.23239.01448
dc.relation.referencesen[6] Basics of the CAN Protocol, 2022 [Online]. Available: https://www.keyence.com/ss/products/daq/lab/candata/protocol.jsp
dc.relation.referencesen[7] International standard ISO 11898-1. Road vehicles – Controller area network (CAN). Part 1: Data link layer and physical signaling, 2022 [Online]. Available: https://www.sis.se/api/document/preview/919965/
dc.relation.referencesen[8] International standard ISO 11898-2. Road vehicles – Controller area network (CAN). Part 2: High-speed medium access unit, 2022 [Online]. Available: https://www.sis.se/api/document/preview/921358/
dc.relation.referencesen[9] H. Zeltwanger, "CAN FD Network Design Hints and Recommendations", SAE Int. J. Passeng. Cars – Electron. Electr. Syst. 9(1):89–92. 2016, DOI: https://doi.org/10.4271/2016-01-0060.
dc.relation.referencesen[10] Introduction to the Local Interconnect Network (LIN) Bus, 2022 [Online]. Available: https://www.ni.com/enus/innovations/white-papers/09/introduction-to-thelocal-interconnect-network--lin--bus.html
dc.relation.referencesen[11] Automotive Ethernet: The Future of In-Vehicle Networking, 2022 [Online]. Available: https://blogs.keysight.com/blogs/tech/sim-des.entry.html/2021/06/10/automotive_ethernet-E6FB.html
dc.relation.referencesen[12] DBC Introduction, Open Vehicles, 2020 [Online]. Available: https://docs.openvehicles.com
dc.relation.referencesen[13] W. Vass, A Comprehensible Guide to J1939. Copperhill Technologies Corporation, 2008.
dc.relation.referencesen[14] Understanding CAN DBC, Influx Technology, 2021 [Online]. Available: https://www.influxtechnology.com/post/understanding-can-dbc
dc.relation.referencesen[15] An Introduction to J1939 and DBC files, Bryan Hennessy, 2019 [Online]. Available: https://www.kvaser.com/developer-blog/an-introduction-j1939-anddbc-files/
dc.relation.referencesen[16] Python-can library documentation, 2022 [Online]. Available: https://python-can.readthedocs.io/en/master/
dc.relation.referencesen[17] Wireshark network protocol analyzer, 2022 [Online]. Available: https://www.wireshark.org/
dc.relation.urihttps://doi.org/10.1007/s41104-022-00113-9
dc.relation.urihttps://books.google.com.py/books?id=rO-EfaSZbMAC&printsec=copyright#v=onepage&q&f=false
dc.relation.urihttps://doi.org/10.1063/1.5012397
dc.relation.urihttps://copperhilltech.com/content/CiA%20CAN%20Newsletter%20-%20CAN%20XL%20error%20detection%20capabilities.pdf
dc.relation.urihttps://www.keyence.com/ss/products/daq/lab/candata/protocol.jsp
dc.relation.urihttps://www.sis.se/api/document/preview/919965/
dc.relation.urihttps://www.sis.se/api/document/preview/921358/
dc.relation.urihttps://doi.org/10.4271/2016-01-0060
dc.relation.urihttps://www.ni.com/enus/innovations/white-papers/09/introduction-to-thelocal-interconnect-network--lin--bus.html
dc.relation.urihttps://blogs.keysight.com/blogs/tech/sim-des.entry.html/2021/06/10/automotive_ethernet-E6FB.html
dc.relation.urihttps://docs.openvehicles.com
dc.relation.urihttps://www.influxtechnology.com/post/understanding-can-dbc
dc.relation.urihttps://www.kvaser.com/developer-blog/an-introduction-j1939-anddbc-files/
dc.relation.urihttps://python-can.readthedocs.io/en/master/
dc.relation.urihttps://www.wireshark.org/
dc.rights.holder© Національний університет “Львівська політехніка”, 2023
dc.subjectController area network
dc.subjectFrames encoding
dc.subjectFrames decoding
dc.subjectVirtual network
dc.titleEncoding and decoding controller area network frames using the CAN database
dc.typeArticle

Files

Original bundle

Now showing 1 - 2 of 2
Thumbnail Image
Name:
2023v84n1_Ivaniuk_O-Encoding_and_decoding_controller_61-66.pdf
Size:
355.9 KB
Format:
Adobe Portable Document Format
Thumbnail Image
Name:
2023v84n1_Ivaniuk_O-Encoding_and_decoding_controller_61-66__COVER.png
Size:
1.25 MB
Format:
Portable Network Graphics

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.79 KB
Format:
Plain Text
Description: