设为首页加入收藏

基于CAN通信的电动汽车驱动电机控制器主芯片固件升级系统设计

作者:刘宝岩,李军伟,许金鹏,汪志莹,李连强  发布时间:2023-12-04   编辑:赵玉真   审核人:郎伟锋    浏览次数:

基于CAN通信的电动汽车驱动电机控制器主芯片固件升级系统设计

刘宝岩1,李军伟1*,许金鹏1,汪志莹1,李连强2

1.山东理工大学交通与车辆工程学院,山东 淄博  255049;

2.一汽解放青岛汽车有限公司,山东 青岛  266217

摘要:为解决电动汽车驱动电机控制器主控芯片TMS320F28377S应用程序升级维护操作困难的问题,设计开发一种基于控制器局域网络(controller area network,CAN)通信技术的固件升级系统。通过配置CAN模块及Flash模块,解析HEX文件,结合汉明码校验算法,实现对引导程序及应用程序的设计;选用PyQt应用架构设计上位机操作界面,制定通信协议,实现对上位机软件的设计;在新能源汽车电机测试台架上,将开发的固件升级系统应用到电机控制器,进行电机电流加载闭环控制试验验证。试验结果表明:基于CAN通信的TMS320F28377S芯片固件升级系统能完成上位机和电机控制器的数据传输,系统快捷方便、稳定性高,可广泛应用于电机控制器应用程序的升级。

关键词:电机控制器;TMS320F28377S芯片;固件升级;CAN通信

Design of the firmware upgrade system for the main chip of the electric vehicle motor controller based on CAN communication

LIU Baoyan1, LI Junwei1*, XU Jinpeng1, WANG Zhiying1, LI Lianqiang2

1.School of Transportation and Vehicle Engineering, Shandong University of Technology, Zibo 255049, China;

2.FAW Jiefang Qingdao Automobile Co., Ltd., Qingdao 266217, China

Abstract:In order to solve the problem of the application program upgrade and maintenance of the main motor controller chip TMS320F28377S of the electric vehicle driver, a firmware upgrade system based on controller area network CAN communication technology is developed. Through configuring CAN module and Flash module, parsing HEX file and combining Hamming code checking algorithm, the design of boot program and application program is realized, the firmware upgrade system is applied to the new energy vehicle motor test bench, and the motor controller current loading closed-loop control experiment is carried out. The test results show that the TMS320F28377S firmware upgrade system based on CAN communication can complete the data transmission between PC and motor controller, and the system is fast, convenient and stable, widely used for motor controller application upgrades.

Keywords:motor controllor;TMS320F28377S chip;firmware upgrade;CAN communication

    

通信地址:济南市长清大学科技园海棠路5001号 邮编:250357
《山东交通学院学报》编辑部电话:0531-80687340
《内燃机与动力装置》编辑部电话:0531-80687025
山东交通学院学报编辑部版权所有 网站浏览次数: