O. Ivaniuk, H. Vlakh-Vyhrynovska, R. Modla, Nazar Kulyk
{"title":"利用can数据库对控制器局域网帧进行编码和解码","authors":"O. Ivaniuk, H. Vlakh-Vyhrynovska, R. Modla, Nazar Kulyk","doi":"10.23939/istcmtm2023.01.061","DOIUrl":null,"url":null,"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.","PeriodicalId":415989,"journal":{"name":"Measuring Equipment and Metrology","volume":"454 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"ENCODING AND DECODING CONTROLLER AREA NETWORK FRAMES WITH THE USE OF THE CAN DATABASE\",\"authors\":\"O. Ivaniuk, H. Vlakh-Vyhrynovska, R. Modla, Nazar Kulyk\",\"doi\":\"10.23939/istcmtm2023.01.061\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":415989,\"journal\":{\"name\":\"Measuring Equipment and Metrology\",\"volume\":\"454 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1900-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Measuring Equipment and Metrology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.23939/istcmtm2023.01.061\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Measuring Equipment and Metrology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23939/istcmtm2023.01.061","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
ENCODING AND DECODING CONTROLLER AREA NETWORK FRAMES WITH THE USE OF THE CAN DATABASE
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.