基于Simulink自动代码生成技术的CAN底层模块库设计  被引量:6

Design of CAN Underlying Module Library Based on Simulink Automatic Code Generation Technology

在线阅读下载全文

作  者:汪伟 莫官旭 申健 谢勇波 王文明 WANG Wei;MO Guanxu;SHEN Jian;XIE Yongbo;WANG Wenming(Changsha CRRC Intelligent Control and New Energy Technology Co.,Ltd.,Changsha,Hunan 410036,China)

机构地区:[1]长沙中车智驭新能源科技有限公司,湖南长沙410036

出  处:《控制与信息技术》2020年第3期93-96,共4页CONTROL AND INFORMATION TECHNOLOGY

基  金:国家重点研发计划(2018YFB1201602,2018YFB1201604)。

摘  要:针对汽车控制器CAN通信报文数据多、传统软件开发方式效率较低的问题,文章提出一种基于Simulink自动代码生成技术的CAN底层模块库设计方法,其采用S-Function设计配置CAN通道信息模块和可导入DBC文件的CAN报文收发模块,编辑TLC文件,并使用RTW(real-time workshop)实现Simulink模块自动代码生成。在Infineon TC21x系列芯片控制板上进行测试,验证了基于自动代码生成的CAN底层模块库的可用性和高效性。测试结果表明,采用该方法设计的CAN底层模块库能够在控制板上有效运行,并达到了预期结果,提高了软件开发效率且有利于软件后期维护和功能扩展。Traditional software development methods for CAN communication in automobile controller have the problem of large message data and low efficiency.This paper proposed a design method of CAN underlying module library based on Simulink automatic code generation technology.S-Function is used to design a configuration CAN channel information module and CAN message transceiver module that can import DBC files,edit TLC files,and use RTW to implement automatic code generation of Simulink modules.The availability and efficiency of the CAN underlying module library based on automatic code generation were tested and verified on the Infineon TC21x chip control board.The test results show that the CAN underlying module library designed by this method can run effectively on the control board and achieve expected results,which improves the development efficiency and is conducive to software maintenance and function expansion.

关 键 词:自动代码生成 CAN通信 软件复用 

分 类 号:U463.6[机械工程—车辆工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象