CAN message unpack and pack based on simulink automatic code generation technology

Aiming at the problem of a large amount of CAN communication message data of automobile controllers and low efficiency of traditional software development, this paper proposes a method of CAN message unpack and pack based on Simulink automatic code generation technology. S-Function is used to design...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Journal of physics. Conference series 2022-05, Vol.2232 (1), p.12009
Hauptverfasser: Yuan, Ruiteng, Xiao, Chun, Liu, Mengjie, Chen, Jing, Yu, Maochang
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Aiming at the problem of a large amount of CAN communication message data of automobile controllers and low efficiency of traditional software development, this paper proposes a method of CAN message unpack and pack based on Simulink automatic code generation technology. S-Function is used to design CAN message sending and receiving model that can import DBC files, and use RTW (real-time workshop) to realize Simulink model to automatically generate C code. This method effectively solves the unpack and pack of CAN messages, simplifies the code development process, and improves the efficiency of software development, especially when there are DBC files, which simplifies the work of sending and receiving and testing.
ISSN:1742-6588
1742-6596
DOI:10.1088/1742-6596/2232/1/012009